mirror of
https://github.com/dsoaress/link-free.git
synced 2026-11-27 21:24:44 +00:00
refactor: some adjustments
This commit is contained in:
52 files changed
+417
-481
No files matched your search
@@ -1,13 +1,15 @@
|
||||
import { useRouter } from 'next/router'
|
||||
import type { Dispatch, SetStateAction } from 'react'
|
||||
|
||||
import { useData } from '../../../hooks/useData'
|
||||
import { api } from '../../../services/api'
|
||||
import type { Data } from '../../../types/Data'
|
||||
import { removeLocalStorageData } from '../../../utils/localStorage'
|
||||
import { Button } from '../../Button'
|
||||
import { useData } from 'hooks/useData'
|
||||
import { api } from 'services/api'
|
||||
import { removeLocalStorageData } from 'utils/localStorage'
|
||||
import { Button } from 'components/Button'
|
||||
|
||||
import { ButtonsGroup, Wrapper } from './styles'
|
||||
|
||||
import type { Data } from '../../../types/Data'
|
||||
import type { Dispatch, SetStateAction } from 'react'
|
||||
|
||||
type SaveChangesAlertProps = {
|
||||
hasUnsavedChanges: boolean
|
||||
setHasUnsavedChanges: Dispatch<SetStateAction<boolean>>
|
||||
|
||||
Reference in new issue
Block a user