Merge branch 'main' into noah-dev
This commit is contained in:
commit
4ea9fea362
14 changed files with 223 additions and 572 deletions
|
@ -1,5 +1,5 @@
|
|||
import React, { useState } from 'react';
|
||||
import { createStation } from '../utils/StationsCreate';
|
||||
import React, { useState } from "react";
|
||||
import { createStation } from "../utils/StationsCreate";
|
||||
|
||||
// I UNDERSTAND THIS!! --Noah
|
||||
|
||||
|
@ -21,7 +21,7 @@ function CreateStation() {
|
|||
<textarea onChange={(e) => setName(e.target.value)} />
|
||||
<textarea onChange={(e) => setDescription(e.target.value)} />
|
||||
|
||||
<button
|
||||
<button
|
||||
className="create-station-final-btn"
|
||||
onClick={handleCreateStation}
|
||||
disabled={!name || !description}
|
||||
|
@ -33,5 +33,4 @@ function CreateStation() {
|
|||
);
|
||||
}
|
||||
|
||||
|
||||
export default CreateStation;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue