Skip to content

Commit

Permalink
fix hook error
Browse files Browse the repository at this point in the history
  • Loading branch information
hanlily666 committed May 22, 2024
1 parent 3937ba0 commit d3bb9c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/UIUC-Components/ProjectFilesTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ export function ProjectFilesTable({
const [currentError, setCurrentError] = useState('')
const isSmallScreen = useMediaQuery('(max-width: 768px)')
const isBetweenSmallAndMediumScreen = useMediaQuery('(max-width: 878px)')
const [showMultiSelect, setShowMultiSelect] = useState(false);

const openModel = (open: boolean, error = '') => {
setErrorModalOpened(open)
Expand Down Expand Up @@ -423,7 +424,6 @@ export function ProjectFilesTable({
})
)
}
const [showMultiSelect, setShowMultiSelect] = useState(false);

const items = [
{
Expand Down

0 comments on commit d3bb9c2

Please sign in to comment.