chore: move toast from component to ui

This commit is contained in:
QiShaoXuan
2022-12-21 12:25:56 +08:00
parent 795a5733c0
commit b32c6ebc89
7 changed files with 6 additions and 5 deletions
@@ -21,7 +21,7 @@ import { IconButton } from '@/ui/button';
import { Tooltip } from '@/ui/tooltip';
import { useRouter } from 'next/router';
import { useAppState } from '@/providers/app-state-provider/context';
import { toast } from '@/components/toast';
import { toast } from '@/ui/toast';
import { usePageHelper } from '@/hooks/use-page-helper';
const FavoriteTag = ({
@@ -12,7 +12,7 @@ import {
OpenInNewIcon,
TrashIcon,
} from '@blocksuite/icons';
import { toast } from '@/components/toast';
import { toast } from '@/ui/toast';
import { usePageHelper } from '@/hooks/use-page-helper';
export const OperationCell = ({ pageMeta }: { pageMeta: PageMeta }) => {