mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-29 05:31:51 +02:00
Filesystem Sync (#142)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { useCallback } from 'react';
|
||||
import { CommandPalette } from '../components/CommandPalette';
|
||||
import { CommandPaletteDialog } from '../components/CommandPaletteDialog';
|
||||
import { useDialog } from './useDialog';
|
||||
|
||||
export function useToggleCommandPalette() {
|
||||
@@ -13,7 +13,7 @@ export function useToggleCommandPalette() {
|
||||
vAlign: 'top',
|
||||
noPadding: true,
|
||||
noScroll: true,
|
||||
render: ({ hide }) => <CommandPalette onClose={hide} />,
|
||||
render: ({ hide }) => <CommandPaletteDialog onClose={hide} />,
|
||||
});
|
||||
}, [dialog]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user