Add button when no widgets populate the canvas

This commit is contained in:
Daniel S. Hansen
2025-08-08 13:00:33 -07:00
parent 5df556896f
commit f2fe8b5fb2
3 changed files with 65 additions and 15 deletions
+8 -7
View File
@@ -94,13 +94,14 @@ export default function Sidebar({ view, onChangeView, darkMode, setDarkMode }) {
)
})}
<ColorModeButton
onClick={
() => {
setDarkMode(!darkMode);
toggleColorMode();
}}
position="absolute"
bottom="2"/>
onClick={
() => {
setDarkMode(!darkMode);
toggleColorMode();
}}
position="absolute"
bottom="2"
/>
</Box>
);
}