Skip to content

Commit

Permalink
Fix animation bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Jun 9, 2024
1 parent 346ae0e commit 81eacde
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/list.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ export default function Frame({ selectedFolderURL, setSelectedFolderURL }) {
};

return (
<>
<div style={{ height: '100%' }}>
{observer}
<div id="sidebar">
<Sidebar
items={items}
Expand Down Expand Up @@ -107,7 +108,6 @@ export default function Frame({ selectedFolderURL, setSelectedFolderURL }) {
borderLeft: '1px solid #e0e0e0',
}}
>
{observer}
<div id="select" className="components-accessible-toolbar">
<ToolbarGroup className="components-toolbar-group">
<ToolbarButton
Expand Down Expand Up @@ -167,6 +167,6 @@ export default function Frame({ selectedFolderURL, setSelectedFolderURL }) {
/>
))(currentItem.blocks ? Write : Read)}
</motion.div>
</>
</div>
);
}
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ export default defineConfig({
},
publicDir: '../public',
server: {
hmr: true,
hmr: false,
},
});

0 comments on commit 81eacde

Please sign in to comment.