Skip to content

Commit 4739257

Browse files
Merge pull request #16 from jinsoolim/customel
forreals all good style context
2 parents 3fd7d35 + 2aab317 commit 4739257

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

app/src/components/bottom/BottomPanel.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { Resizable } from 're-resizable';
55

66
// const IPC = require('electron').ipcRenderer;
77

8-
const BottomPanel = ({ style }) => {
8+
const BottomPanel = () => {
99
return (
1010
<Resizable
1111
enable={{
@@ -14,7 +14,7 @@ const BottomPanel = ({ style }) => {
1414
minHeight={'25%'}
1515
>
1616
<div className="bottom-panel">
17-
<BottomTabs style={style} />
17+
<BottomTabs />
1818
</div>
1919
</Resizable>
2020
);

app/src/containers/AppContainer.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ const AppContainer = () => {
2020
<MuiThemeProvider theme={theme}>
2121
<div className="app-container">
2222
<styleContext.Provider value={{ style, setStyle }}>
23-
<LeftContainer style={style} />
24-
<MainContainer style={style} />
25-
<RightContainer style={style} />
23+
<LeftContainer />
24+
<MainContainer />
25+
<RightContainer />
2626
</styleContext.Provider>
2727
</div>
2828
</MuiThemeProvider>

0 commit comments

Comments
 (0)