diff --git a/apps/desktop/src/components/ErrorPage.tsx b/apps/desktop/src/components/ErrorPage.tsx
index 4027b4c6a5..08b98ecd0c 100644
--- a/apps/desktop/src/components/ErrorPage.tsx
+++ b/apps/desktop/src/components/ErrorPage.tsx
@@ -1,11 +1,11 @@
import { Box, Button, Center, Heading, Link, VStack } from "@chakra-ui/react";
-import { downloadBackupFile } from "@umami/state";
import { useOffboardingModal } from "./Offboarding/useOffboardingModal";
import { ModalContentWrapper } from "./Onboarding/ModalContentWrapper";
import { NoticeIcon, ReloadIcon } from "../assets/icons";
import BackgroundImage from "../assets/onboarding/background_image.png";
import colors from "../style/colors";
+import { useSaveBackup } from "../utils/useSaveBackup";
const feedbackEmailBodyTemplate =
"What is it about? (if a bug report please consider including your account address) %0A PLEASE FILL %0A%0A What is the feedback? %0A PLEASE FILL";
@@ -16,9 +16,11 @@ const refresh = () => {
export const ErrorPage = () => {
const { modalElement: OffboardingModal, onOpen: onOpenOffboardingModal } = useOffboardingModal();
+ const { content: saveBackupModal, onOpen: saveBackup } = useSaveBackup();
return (
+ {saveBackupModal}
{
title="Oops! Something went wrong!"
>
-