This commit is contained in:
Timothy Jaeryang Baek
2026-02-11 15:24:12 -06:00
parent 64c37ab968
commit c8cbdc8f7f
5 changed files with 151 additions and 130 deletions
@@ -1,6 +1,6 @@
<script lang="ts">
import { getContext, onDestroy } from 'svelte';
import { searchSkills } from '$lib/apis/skills';
import { getSkillItems } from '$lib/apis/skills';
import Tooltip from '$lib/components/common/Tooltip.svelte';
import Keyframes from '$lib/components/icons/Keyframes.svelte';
@@ -26,7 +26,7 @@
});
const getItems = async () => {
const res = await searchSkills(localStorage.token, query).catch(() => null);
const res = await getSkillItems(localStorage.token, query).catch(() => null);
if (res) {
filteredItems = res.items;
}