diff options
Diffstat (limited to '')
| -rw-r--r-- | frontend/src/hooks/UseConfirm.tsx (renamed from frontend/src/components/UseConfirm.tsx) | 2 |
1 files changed, 1 insertions, 1 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); |