fix: tool edit

This commit is contained in:
Timothy J. Baek
2024-06-10 21:53:51 -07:00
parent 25c0eca414
commit 4601a0246f
3 changed files with 16 additions and 6 deletions

View File

@@ -60,7 +60,10 @@
];
onMount(() => {
value = boilerplate;
console.log(value);
if (value === '') {
value = boilerplate;
}
// Check if html class has dark mode
isDarkMode = document.documentElement.classList.contains('dark');

View File

@@ -40,6 +40,8 @@
goto('/workspace/tools');
return null;
});
console.log(tool);
}
});
</script>