refac
This commit is contained in:
1 parent
4b55e69640
commit
10724d057a
1 file changed
+1
-3
@@ -296,9 +296,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
onMount(async () => {
|
onMount(async () => {
|
||||||
if (!$tools) {
|
await tools.set((await getTools(localStorage.token).catch(() => null)) ?? []);
|
||||||
await tools.set(await getTools(localStorage.token));
|
|
||||||
}
|
|
||||||
skillsList = (await getSkills(localStorage.token).catch(() => null)) ?? [];
|
skillsList = (await getSkills(localStorage.token).catch(() => null)) ?? [];
|
||||||
if (!$functions) {
|
if (!$functions) {
|
||||||
await functions.set(await getFunctions(localStorage.token));
|
await functions.set(await getFunctions(localStorage.token));
|
||||||
|
|||||||
Reference in new issue
Block a user