mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-22 04:26:23 +08:00
build: remove unused config (#1990)
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import { MuiFade, Tooltip } from '@affine/component';
|
||||
import { config } from '@affine/env';
|
||||
import { useTranslation } from '@affine/i18n';
|
||||
import { CloseIcon, NewIcon } from '@blocksuite/icons';
|
||||
import { lazy, Suspense, useState } from 'react';
|
||||
@@ -21,9 +20,7 @@ const ContactModal = lazy(() =>
|
||||
|
||||
export type IslandItemNames = 'whatNew' | 'contact' | 'shortcuts';
|
||||
export const HelpIsland = ({
|
||||
showList = config.enableChangeLog
|
||||
? ['whatNew', 'contact', 'shortcuts']
|
||||
: ['contact', 'shortcuts'],
|
||||
showList = ['whatNew', 'contact', 'shortcuts'],
|
||||
}: {
|
||||
showList?: IslandItemNames[];
|
||||
}) => {
|
||||
|
||||
Reference in New Issue
Block a user