Merge pull request #153 from toeverything/feat/switch-view

feat(Switcher): change words
This commit is contained in:
Chi Zhang 2022-08-09 11:08:54 +08:00 committed by GitHub
commit 808a31f19e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ export const Switcher = () => {
active={pageViewMode === DocMode.doc} active={pageViewMode === DocMode.doc}
onClick={() => switchToPageView(DocMode.doc)} onClick={() => switchToPageView(DocMode.doc)}
> >
Doc Paper
</StatusText> </StatusText>
<StatusTrack <StatusTrack
mode={pageViewMode} mode={pageViewMode}
@ -51,7 +51,7 @@ export const Switcher = () => {
active={pageViewMode === DocMode.board} active={pageViewMode === DocMode.board}
onClick={() => switchToPageView(DocMode.board)} onClick={() => switchToPageView(DocMode.board)}
> >
Board Edgeless
</StatusText> </StatusText>
</StyledContainerForSwitcher> </StyledContainerForSwitcher>
); );