fix: import useCallback (#1045)

This commit is contained in:
Himself65 2023-02-15 22:13:40 -06:00 committed by GitHub
parent cdc2b449a9
commit 8774df46f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
import { Modal, ModalWrapper } from '@affine/component';
import { IconButton } from '@affine/component';
import { useTranslation } from '@affine/i18n';
import { useState } from 'react';
import { useCallback, useState } from 'react';
import router from 'next/router';
import { toast } from '@affine/component';
import { CloseIcon } from '@blocksuite/icons';