Skip to content

Commit c736c62

Browse files
committed
feat: menambahkan reload untuk universal error
1 parent 2d28c28 commit c736c62

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

apps/desktop/chooser/src/renderer/src/components/UniversalErrorHandler.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,13 @@ const UniversalError = ({
2424
justifyContent="center"
2525
flexDirection="column"
2626
>
27-
<Heading as="h2" size="2xl" fontSize="4rem" color="white">
27+
<Heading
28+
as="h2"
29+
size="2xl"
30+
fontSize="4rem"
31+
color="white"
32+
onClick={() => location.reload()}
33+
>
2834
{title}
2935
</Heading>
3036
<Heading

0 commit comments

Comments
 (0)