diff --git a/dev-docs/docs/@excalidraw/excalidraw/api/children-components/footer.mdx b/dev-docs/docs/@excalidraw/excalidraw/api/children-components/footer.mdx
index 26268189..cdd5ea5a 100644
--- a/dev-docs/docs/@excalidraw/excalidraw/api/children-components/footer.mdx
+++ b/dev-docs/docs/@excalidraw/excalidraw/api/children-components/footer.mdx
@@ -16,7 +16,6 @@ function App() {
className="custom-footer"
onClick={() => alert("This is dummy footer")}
>
- {" "}
custom footer
diff --git a/dev-docs/docs/@excalidraw/excalidraw/api/children-components/main-menu.mdx b/dev-docs/docs/@excalidraw/excalidraw/api/children-components/main-menu.mdx
index 8fbf228d..2494df10 100644
--- a/dev-docs/docs/@excalidraw/excalidraw/api/children-components/main-menu.mdx
+++ b/dev-docs/docs/@excalidraw/excalidraw/api/children-components/main-menu.mdx
@@ -14,8 +14,7 @@ function App() {
Item1
- (isMobile: boolean, appState:{" "} + (isMobile: boolean, appState: AppState @@ -29,8 +29,7 @@ function App() { }} onClick={() => window.alert("This is dummy top right UI")} > - {" "} - Click me{" "} + Click me ); }} @@ -55,8 +54,7 @@ function App() {( - {" "} - Dummy stats will be shown here{" "} + Dummy stats will be shown here
)} /> @@ -105,8 +103,7 @@ function App() { return ({ )} {this.renderCanvas()} - {" "} + diff --git a/src/excalidraw-app/collab/RoomDialog.tsx b/src/excalidraw-app/collab/RoomDialog.tsx index 50f586ef..42c12330 100644 --- a/src/excalidraw-app/collab/RoomDialog.tsx +++ b/src/excalidraw-app/collab/RoomDialog.tsx @@ -154,7 +154,7 @@ const RoomDialog = ({{" "} + {t("roomDialog.desc_privacy")}
{t("roomDialog.desc_exitSession")}
diff --git a/src/packages/excalidraw/example/App.tsx b/src/packages/excalidraw/example/App.tsx index 85993a68..3a0634e6 100644 --- a/src/packages/excalidraw/example/App.tsx +++ b/src/packages/excalidraw/example/App.tsx @@ -161,8 +161,7 @@ export default function App({ appTitle, useCustom, customArgs }: AppProps) { onClick={() => alert("This is an empty top right UI")} style={{ height: "2.5rem" }} > - {" "} - Click me{" "} + Click me > ); diff --git a/src/packages/excalidraw/example/CustomFooter.tsx b/src/packages/excalidraw/example/CustomFooter.tsx index fbc2ea73..5c47de6c 100644 --- a/src/packages/excalidraw/example/CustomFooter.tsx +++ b/src/packages/excalidraw/example/CustomFooter.tsx @@ -65,8 +65,7 @@ const CustomFooter = ({ className="custom-footer" onClick={() => alert("This is dummy footer")} > - {" "} - custom footer{" "} + custom footer > ); diff --git a/src/packages/excalidraw/example/sidebar/ExampleSidebar.tsx b/src/packages/excalidraw/example/sidebar/ExampleSidebar.tsx index 793d17b0..4c51ecdc 100644 --- a/src/packages/excalidraw/example/sidebar/ExampleSidebar.tsx +++ b/src/packages/excalidraw/example/sidebar/ExampleSidebar.tsx @@ -11,7 +11,7 @@ export default function Sidebar({ children }: { children: React.ReactNode }) {- {" "} +diff --git a/src/tests/packages/__snapshots__/excalidraw.test.tsx.snap b/src/tests/packages/__snapshots__/excalidraw.test.tsx.snap index 09402981..d703dff8 100644 --- a/src/tests/packages/__snapshots__/excalidraw.test.tsx.snap +++ b/src/tests/packages/__snapshots__/excalidraw.test.tsx.snap @@ -43,7 +43,6 @@ exports[`diff --git a/src/tests/packages/excalidraw.test.tsx b/src/tests/packages/excalidraw.test.tsx index a0d49593..a5734b2e 100644 --- a/src/tests/packages/excalidraw.test.tsx +++ b/src/tests/packages/excalidraw.test.tsx @@ -220,7 +220,6 @@ describe("should render main menu with host menu items ", () => { style={{ height: "2rem" }} onClick={() => window.alert("custom menu item")} > - {" "} custom item @@ -345,7 +344,6 @@ describe(" ", () => { style={{ height: "2rem" }} onClick={() => window.alert("custom menu item")} > - {" "} custom menu item