restructure files onto electron-vite boilerplate

This commit is contained in:
jeffvli
2025-05-18 14:03:18 -07:00
parent 91ce2cd8a1
commit 1cf587bc8f
457 changed files with 9927 additions and 11705 deletions
@@ -1,6 +1,7 @@
import { useCallback, Dispatch } from 'react';
import { Dispatch, useCallback } from 'react';
import { useTranslation } from 'react-i18next';
import { useNavigate } from 'react-router';
import { Command, CommandPalettePages } from '/@/renderer/features/search/components/command';
import { AppRoute } from '/@/renderer/router/routes';
@@ -10,7 +11,7 @@ interface GoToCommandsProps {
setQuery: Dispatch<string>;
}
export const GoToCommands = ({ setQuery, setPages, handleClose }: GoToCommandsProps) => {
export const GoToCommands = ({ handleClose, setPages, setQuery }: GoToCommandsProps) => {
const { t } = useTranslation();
const navigate = useNavigate();