Skip to content

Commit

Permalink
run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
timpau authored and M-Picco committed Apr 2, 2024
1 parent a5824d5 commit af189e0
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions frontend/components/modal/ErrorModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { ModalWrapper } from '@components/modal/ModalWrapper'
import { useRouter } from 'next/navigation'

export function ErrorModal({ showModal }: { showModal: Function }) {
const router = useRouter()
const router = useRouter()
return (
<ModalWrapper>
<div className="w-full max-w-[600px] divide-y divide-white divide-opacity-25 border border-white border-opacity-25 bg-black bg-opacity-50 text-center">
Expand All @@ -17,10 +17,13 @@ const router = useRouter()
</p>
</div>
<div className="bg-black bg-opacity-50 px-10 py-8">
<Button type={'primary'} onClick={() => {
showModal(false)
router.back()
}}>
<Button
type={'primary'}
onClick={() => {
showModal(false)
router.back()
}}
>
<span className="flex items-center gap-2">
Try again
<svg
Expand Down

0 comments on commit af189e0

Please sign in to comment.