diff options
Diffstat (limited to 'FrontEnd/src/components/hooks/useWindowLeave.ts')
-rw-r--r-- | FrontEnd/src/components/hooks/useWindowLeave.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FrontEnd/src/components/hooks/useWindowLeave.ts b/FrontEnd/src/components/hooks/useWindowLeave.ts index ecd999d4..b829a92f 100644 --- a/FrontEnd/src/components/hooks/useWindowLeave.ts +++ b/FrontEnd/src/components/hooks/useWindowLeave.ts @@ -1,10 +1,10 @@ import { useEffect } from "react"; -import { useC, Text } from "../common"; +import { useC, I18nText } from "../common"; export default function useWindowLeave( allow: boolean, - message: Text = "timeline.confirmLeave", + message: I18nText = "timeline.confirmLeave", ) { const c = useC(); |