Skip to content

Commit

Permalink
fix industry
Browse files Browse the repository at this point in the history
  • Loading branch information
koishichito committed Aug 29, 2024
1 parent 8127834 commit 980411e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions frontend/src/pages/customize/industry.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { useRouter } from 'next/router'
import React, { useState } from 'react'
import { IconType } from 'react-icons'
import {
Expand All @@ -18,7 +19,6 @@ import {
MdRealEstateAgent,
MdAccountBalance,
} from 'react-icons/md'
import { useRouter } from 'next/router'

interface IndustryButtonProps {
Icon: IconType
Expand Down Expand Up @@ -79,7 +79,7 @@ export default function HomePage() {

const toggleIndustry = (id: number) => {
setSelectedIndustries((prev) =>
prev.includes(id) ? prev.filter((i) => i !== id) : [...prev, id]
prev.includes(id) ? prev.filter((i) => i !== id) : [...prev, id],
)
}

Expand Down Expand Up @@ -117,4 +117,4 @@ export default function HomePage() {
</div>
</div>
)
}
}
4 changes: 2 additions & 2 deletions frontend/src/pages/signup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import {
Paper,
} from '@mui/material'
import { createTheme, ThemeProvider } from '@mui/material/styles'
import React from 'react'
import { useRouter } from 'next/router'
import React from 'react'

const theme = createTheme()

Expand Down Expand Up @@ -110,4 +110,4 @@ export default function LoginForm() {
</Container>
</ThemeProvider>
)
}
}

0 comments on commit 980411e

Please sign in to comment.