Dmytro Kondakov c99d6e4e6b feat(app): refactor App component and add Settings page
- Refactored the App component to utilize a new SearchCard component for rendering search results.
- Introduced a Settings page with FolderPicker and Shortcuts components for user configuration.
- Removed the ImagePage component as it was no longer needed.
- Updated routing to include the new Settings page and adjusted imports accordingly.
- Added a settings button to the main interface for easy access to the new settings functionality.
2025-04-13 22:48:26 +02:00

5 lines
166 B
TypeScript

export const isModifierKey = (key: string): boolean => {
const modifiers = ["Control", "Shift", "Alt", "Meta", "Command"];
return modifiers.includes(key);
};