Skip to content

Commit 21516b1

Browse files
committed
chore: shorten imports
1 parent 644d106 commit 21516b1

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

examples/vite/src/App.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import { init, SearchIndex } from 'emoji-mart';
3434
import data from '@emoji-mart/data/sets/14/native.json';
3535
import { humanId } from 'human-id';
3636

37-
import { appSettingsStore, useAppSettingsSelector } from './AppSettings/state.ts';
37+
import { appSettingsStore, useAppSettingsSelector } from './AppSettings';
3838
import { DESKTOP_LAYOUT_BREAKPOINT } from './ChatLayout/constants.ts';
3939
import { ChannelsPanels, ThreadsPanels } from './ChatLayout/Panels.tsx';
4040
import {
@@ -60,7 +60,7 @@ import {
6060
getMessageUiVariant,
6161
getReactionsVariant,
6262
getSystemMessageVariant,
63-
} from './CustomMessageUi/index.tsx';
63+
} from './CustomMessageUi';
6464

6565
init({ data });
6666

@@ -191,7 +191,6 @@ const App = () => {
191191
() => initialSearchParams.get('thread'),
192192
[initialSearchParams],
193193
);
194-
const initialThreadOpen = useMemo(() => Boolean(initialThreadId), [initialThreadId]);
195194
const initialPanelLayout = useMemo(
196195
() => appSettingsStore.getLatestValue().panelLayout,
197196
[],

0 commit comments

Comments
 (0)