We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f190695 commit 565e05dCopy full SHA for 565e05d
1 file changed
editor/components/editor/editor-appbar/editor-appbar-fragment-for-sidebar.tsx
@@ -1,15 +1,22 @@
1
import React from "react";
2
import styled from "@emotion/styled";
3
+import { ArrowBack } from "@material-ui/icons";
4
+import { useRouter } from "next/router";
5
6
export function AppbarFragmentForSidebar() {
7
+ const router = useRouter();
8
+
9
return (
10
<RootWrapperAppbarFragmentForSidebar>
- <div
11
+ <ArrowBack
12
style={{
- width: 24,
- height: 24,
13
+ fontSize: "20px",
14
+ fill: "white",
15
+ }}
16
+ onClick={() => {
17
+ router.push("/");
18
}}
- ></div>
19
+ />
20
{/* <IconsMdiMenu
21
// TODO: replace resource
22
src="https://s3-us-west-2.amazonaws.com/figma-alpha-api/img/333b/8550/4bdd6a7ceffe5b23b37bc68c1fb7a4ab"
0 commit comments