Skip to content

Commit

Permalink
Merge pull request #384 from MethSarcus/develop
Browse files Browse the repository at this point in the history
updated packages added 2024 season to selector
  • Loading branch information
MethSarcus authored Sep 10, 2024
2 parents 0200777 + 20d12a5 commit 516b5c2
Show file tree
Hide file tree
Showing 3 changed files with 514 additions and 1,626 deletions.
5 changes: 3 additions & 2 deletions components/forms/UsernameForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const UsernameForm = () => {
const [text, setText] = useState('')
const [usernameSubmitted, setUsernameSubmitted] = useState(false)
const [storedUsernames, setStoredUsernames] = useState(new Array())
const [selectedSeason, setSelectedSeason] = useState(2023)
const [selectedSeason, setSelectedSeason] = useState(2024)
const pathname = usePathname();

useEffect(() => {
Expand Down Expand Up @@ -62,9 +62,10 @@ const UsernameForm = () => {
display='inline-block'

value={text}
onChange={(e) => textChanged(e.target.value)}
onChange={(e: { target: { value: string } }) => textChanged(e.target.value)}
/>
<Select size={['sm','lg']} maxW={["80px", "100px"]} onChange={onSeasonChange}>
<option value='2024'>2024</option>
<option value='2023'>2023</option>
<option value='2022'>2022</option>
<option value='2021'>2021</option>
Expand Down
Loading

0 comments on commit 516b5c2

Please sign in to comment.