style: Removes extra spaces (#6558)

Co-authored-by: dwelle <luzar.david@gmail.com>
This commit is contained in:
Mohammad Amin 2023-05-14 00:39:16 +03:30 committed by GitHub
parent f6f9ed0396
commit 6977c32631
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 10 additions and 21 deletions

View file

@ -661,7 +661,7 @@ class App extends React.Component<AppProps, AppState> {
)}
<main>{this.renderCanvas()}</main>
</ExcalidrawActionManagerContext.Provider>
</ExcalidrawElementsContext.Provider>{" "}
</ExcalidrawElementsContext.Provider>
</ExcalidrawAppStateContext.Provider>
</ExcalidrawSetAppStateContext.Provider>
</DeviceContext.Provider>

View file

@ -154,7 +154,7 @@ const RoomDialog = ({
<p>
<span role="img" aria-hidden="true" className="RoomDialog-emoji">
{"🔒"}
</span>{" "}
</span>
{t("roomDialog.desc_privacy")}
</p>
<p>{t("roomDialog.desc_exitSession")}</p>

View file

@ -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
</button>
</>
);

View file

@ -65,8 +65,7 @@ const CustomFooter = ({
className="custom-footer"
onClick={() => alert("This is dummy footer")}
>
{" "}
custom footer{" "}
custom footer
</button>
</>
);

View file

@ -11,7 +11,7 @@ export default function Sidebar({ children }: { children: React.ReactNode }) {
</button>
<div className="sidebar-links">
<button>Empty Home</button>
<button>Empty About</button>{" "}
<button>Empty About</button>
</div>
</div>
<div className={`${open ? "sidebar-open" : ""}`}>

View file

@ -43,7 +43,6 @@ exports[`<Excalidraw/> <MainMenu/> should render main menu with host menu items
<button
style="height: 2rem;"
>
custom menu item
</button>
</div>

View file

@ -220,7 +220,6 @@ describe("<Excalidraw/>", () => {
style={{ height: "2rem" }}
onClick={() => window.alert("custom menu item")}
>
{" "}
custom item
</button>
</MainMenu.ItemCustom>
@ -345,7 +344,6 @@ describe("<Excalidraw/>", () => {
style={{ height: "2rem" }}
onClick={() => window.alert("custom menu item")}
>
{" "}
custom menu item
</button>
</MainMenu.ItemCustom>