[CodeFactor] Apply fixes

This commit is contained in:
codefactor-io
2025-04-01 06:46:45 +00:00
parent 5e93ae6e4b
commit d0edad8134
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ import renderSvelte from '@/interface/main';
import SearchBar from './SearchBar.svelte'; import SearchBar from './SearchBar.svelte';
import styles from './styles.css?inline'; import styles from './styles.css?inline';
import { unmount } from 'svelte'; import { unmount } from 'svelte';
import { loadDynamicItems, type DynamicContentItem } from './dynamicSearch'; import { type DynamicContentItem, loadDynamicItems } from './dynamicSearch';
import { waitForElm } from '@/seqta/utils/waitForElm'; import { waitForElm } from '@/seqta/utils/waitForElm';
const settings = defineSettings({ const settings = defineSettings({
@@ -1,6 +1,6 @@
import Fuse, { type FuseResult } from 'fuse.js'; import Fuse, { type FuseResult } from 'fuse.js';
import { getStaticCommands, type StaticCommandItem } from './commands'; import { getStaticCommands, type StaticCommandItem } from './commands';
import { getAllDynamicItems, type DynamicContentItem } from './dynamicSearch'; import { type DynamicContentItem, getAllDynamicItems } from './dynamicSearch';
import type { CombinedResult } from './types'; import type { CombinedResult } from './types';
export function prepareDynamicItems(items: DynamicContentItem[]): DynamicContentItem[] { export function prepareDynamicItems(items: DynamicContentItem[]): DynamicContentItem[] {