You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

16 lines
512 B

import { useBackupReminder } from "@core/hooks/useKeyBackupReminder.tsx";
import { useDevice } from "@core/stores/deviceStore.ts";
import { useTranslation } from "react-i18next";
export const KeyBackupReminder = () => {
const { setDialogOpen } = useDevice();
const { t } = useTranslation("dialog");
useBackupReminder({
message: t("pkiBackup.description"),
onAccept: () => setDialogOpen("pkiBackup", true),
enabled: true,
});
// deno-lint-ignore jsx-no-useless-fragment
return <></>;
};