Skip to content

Commit

Permalink
fix retry button on error page
Browse files Browse the repository at this point in the history
  • Loading branch information
Tschonti committed Jun 15, 2024
1 parent b47b288 commit f0f4571
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/client/src/pages/error/error.page.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
import { Button, Heading, Text, VStack } from '@chakra-ui/react'
import { useNavigate } from 'react-router-dom'
import { HelmetTitle } from 'src/components/commons/HelmetTitle'

export const ErrorPage = () => {
const nav = useNavigate()
return (
<VStack w="100%" alignItems="center" my={2}>
<HelmetTitle title="Pontoz-O | Hiba" />
<Heading>Ismeretlen hiba</Heading>
<Text>{'Kérlek próbáld újra, és ha a hiba nem hárul el, jelezd a fejlesztőnek a feketesamu{kukac}gmail{pont}hu címen!'}</Text>
<Button onClick={() => window.location.reload()} colorScheme="brand">
<Button onClick={() => nav(-2)} colorScheme="brand">
Újrapróbálom
</Button>
</VStack>
Expand Down

0 comments on commit f0f4571

Please sign in to comment.