mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Move GitHub corner and visually-hidden class (#1336)
* Move visually-hidden class to index.html * Replace github corner with component * Momoize GitHubCorner * Simplify component return
This commit is contained in:
parent
b1ed5b4cdc
commit
bd32a26653
4 changed files with 45 additions and 39 deletions
|
@ -25,6 +25,7 @@ import { RoomDialog } from "./RoomDialog";
|
|||
import { ErrorDialog } from "./ErrorDialog";
|
||||
import { ShortcutsDialog } from "./ShortcutsDialog";
|
||||
import { LoadingMessage } from "./LoadingMessage";
|
||||
import { GitHubCorner } from "./GitHubCorner";
|
||||
|
||||
interface LayerUIProps {
|
||||
actionManager: ActionManager;
|
||||
|
@ -194,6 +195,9 @@ export const LayerUI = React.memo(
|
|||
</Stack.Col>
|
||||
</div>
|
||||
</FixedSideContainer>
|
||||
<aside>
|
||||
<GitHubCorner />
|
||||
</aside>
|
||||
<footer role="contentinfo">
|
||||
<LanguageList
|
||||
onChange={(lng) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue