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