fix(plugin): make group menu invisible when leave

This commit is contained in:
austaras
2022-07-28 16:24:46 +08:00
parent 6cd8fe6832
commit e150b7c32a
8 changed files with 69 additions and 59 deletions

View File

@@ -1,5 +1,5 @@
import { FC, useState } from 'react';
import { useNavigate, useParams } from 'react-router';
import { useNavigate } from 'react-router';
import clsx from 'clsx';
import style9 from 'style9';
@@ -17,7 +17,6 @@ import { BlockPreview } from '../block-preview';
import { BackwardUndoIcon } from '@toeverything/components/icons';
export const commonListContainer = 'commonListContainer';
import { useFlag } from '@toeverything/datasource/feature-flags';
type Content = {
id: string;