mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-24 05:07:06 +08:00
fix: replace pin button
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
import {
|
import {
|
||||||
MuiButton as Button,
|
MuiButton as Button,
|
||||||
MuiSwitch as Switch,
|
Switch,
|
||||||
styled,
|
styled,
|
||||||
MuiOutlinedInput as OutlinedInput,
|
MuiOutlinedInput as OutlinedInput,
|
||||||
} from '@toeverything/components/ui';
|
} from '@toeverything/components/ui';
|
||||||
@@ -155,12 +155,11 @@ export const WorkspaceName = () => {
|
|||||||
</WorkspaceNameContainer>
|
</WorkspaceNameContainer>
|
||||||
)}
|
)}
|
||||||
</LeftContainer>
|
</LeftContainer>
|
||||||
<ToggleDisplayContainer>
|
<ToggleDisplayContainer onClick={toggleSpaceSidebar}>
|
||||||
<span>{fixedDisplay ? 'ON' : 'OFF'}</span>
|
|
||||||
<Switch
|
<Switch
|
||||||
checked={fixedDisplay}
|
checked={fixedDisplay}
|
||||||
onChange={toggleSpaceSidebar}
|
checkedLabel="ON"
|
||||||
size="small"
|
uncheckedLabel="OFF"
|
||||||
/>
|
/>
|
||||||
</ToggleDisplayContainer>
|
</ToggleDisplayContainer>
|
||||||
</WorkspaceContainer>
|
</WorkspaceContainer>
|
||||||
|
|||||||
Reference in New Issue
Block a user