Skip to content

Commit

Permalink
Remove redundant div wrapper in Layout component to simplify the DOM …
Browse files Browse the repository at this point in the history
…structure.
  • Loading branch information
junhaoliao committed Sep 16, 2024
1 parent 1d5d95e commit 96de362
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions new-log-viewer/src/components/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,11 @@ const Layout = () => {
modeStorageKey={CONFIG_KEY.THEME}
theme={APP_THEME}
>
<div className={"layout"}>
<MenuBar/>
<DropFileContainer>
<Editor/>
</DropFileContainer>
<StatusBar/>
</div>
<MenuBar/>
<DropFileContainer>
<Editor/>
</DropFileContainer>
<StatusBar/>
</CssVarsProvider>
);
};
Expand Down

0 comments on commit 96de362

Please sign in to comment.