diff options
| author | Wolfboy248 <105884620+Wolfboy248@users.noreply.github.com> | 2024-10-20 16:51:43 +0200 |
|---|---|---|
| committer | Wolfboy248 <105884620+Wolfboy248@users.noreply.github.com> | 2024-10-20 16:51:43 +0200 |
| commit | 1c51ea2e373dcdd458d8cdc1d3b2225c316f346d (patch) | |
| tree | e8a667b3260ae6e79582e89070967b90552c6e73 /frontend/src/hooks/UseConfirm.tsx | |
| parent | rankings: handle ties like iverb (diff) | |
| download | lphub-1c51ea2e373dcdd458d8cdc1d3b2225c316f346d.tar.gz lphub-1c51ea2e373dcdd458d8cdc1d3b2225c316f346d.tar.bz2 lphub-1c51ea2e373dcdd458d8cdc1d3b2225c316f346d.zip | |
refactor: touch ups
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); |