refactor(svelte): cleanup components
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
import { shortcut } from '@svelte-put/shortcut';
|
||||
|
||||
import { useStore } from '$lib/store';
|
||||
import type { KeyHandlerProps } from './KeyHandler';
|
||||
import type { KeyHandlerProps } from './types';
|
||||
import type { KeyDefinition, KeyDefinitionObject } from '$lib/types';
|
||||
|
||||
const { selectionKeyPressed, deleteKeyPressed } = useStore();
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
export { default as KeyHandler } from './KeyHandler.svelte';
|
||||
export type { KeyHandlerProps } from './KeyHandler';
|
||||
export type { KeyHandlerProps } from './types';
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { KeyDefinition } from '$lib/types';
|
||||
import type { KeyDefinition } from '$lib/types';
|
||||
|
||||
export type KeyHandlerProps = {
|
||||
selectionKey?: KeyDefinition;
|
||||
Reference in New Issue
Block a user