diff options
Diffstat (limited to '')
| -rw-r--r-- | frontend/src/hooks/UseConfirm.tsx (renamed from frontend/src/components/UseConfirm.tsx) | 2 | ||||
| -rw-r--r-- | frontend/src/hooks/UseMessage.tsx (renamed from frontend/src/components/UseMessage.tsx) | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/frontend/src/components/UseConfirm.tsx b/frontend/src/hooks/UseConfirm.tsx index 2fe0e12..6de7b10 100644 --- a/frontend/src/components/UseConfirm.tsx +++ b/frontend/src/hooks/UseConfirm.tsx | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | import React, { useState } from 'react'; | 1 | import React, { useState } from 'react'; |
| 2 | import ConfirmDialog from './ConfirmDialog'; | 2 | import ConfirmDialog from '../components/ConfirmDialog'; |
| 3 | 3 | ||
| 4 | const useConfirm = ( title: string, subtitle: string ) => { | 4 | const useConfirm = ( title: string, subtitle: string ) => { |
| 5 | const [isOpen, setIsOpen] = useState(false); | 5 | const [isOpen, setIsOpen] = useState(false); |
diff --git a/frontend/src/components/UseMessage.tsx b/frontend/src/hooks/UseMessage.tsx index fbd3c82..249a3bf 100644 --- a/frontend/src/components/UseMessage.tsx +++ b/frontend/src/hooks/UseMessage.tsx | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | import React, { useState } from 'react'; | 1 | import React, { useState } from 'react'; |
| 2 | import MessageDialog from "./MessageDialog"; | 2 | import MessageDialog from "../components/MessageDialog"; |
| 3 | 3 | ||
| 4 | const useMessage = () => { | 4 | const useMessage = () => { |
| 5 | const [isOpen, setIsOpen] = useState(false); | 5 | const [isOpen, setIsOpen] = useState(false); |