This commit is contained in:
Reece
2025-11-20 15:43:27 +00:00
parent a93d1a56a9
commit b718786d91
2 changed files with 2 additions and 2 deletions
@@ -250,7 +250,7 @@ export const BookmarkSidebar = ({ visible, thumbnailVisible, documentCacheKey, p
const toggleNode = (nodeId: string) => {
setExpanded(prev => ({
...prev,
[nodeId]: prev[nodeId] === undefined ? false : !prev[nodeId],
[nodeId]: !(prev[nodeId] ?? true),
}));
};
+1 -1
View File
@@ -26,7 +26,7 @@ export default defineConfig(({ mode }) => {
// make sure this port matches the devUrl port in tauri.conf.json file
port: 5173,
// Tauri expects a fixed port, fail if that port is not available
strictPort: false,
strictPort: true,
watch: {
// tell vite to ignore watching `src-tauri`
ignored: ['**/src-tauri/**'],