FIX: Make biome happy

This commit is contained in:
Nicolás Hatcher
2024-10-25 17:55:21 +02:00
committed by Nicolás Hatcher Andrés
parent ee6a41c4f4
commit f78027247b
3 changed files with 6 additions and 5 deletions

View File

@@ -4,6 +4,7 @@
margin: 0px; margin: 0px;
border: none; border: none;
} }
html, body { html,
body {
overscroll-behavior: none; overscroll-behavior: none;
} }

View File

@@ -20,7 +20,7 @@ import { IronCalcIcon } from "./icons";
function App() { function App() {
const [model, setModel] = useState<Model | null>(null); const [model, setModel] = useState<Model | null>(null);
const [workbookState, setWorkbookState] = useState<WorkbookState | null>( const [workbookState, setWorkbookState] = useState<WorkbookState | null>(
null null,
); );
useEffect(() => { useEffect(() => {
@@ -54,7 +54,7 @@ function App() {
if (!model || !workbookState) { if (!model || !workbookState) {
return ( return (
<Loading> <Loading>
<IronCalcIcon style={{width: 24, height: 24, marginBottom: 16}} /> <IronCalcIcon style={{ width: 24, height: 24, marginBottom: 16 }} />
<div>Loading IronCalc</div> <div>Loading IronCalc</div>
</Loading> </Loading>
); );

View File

@@ -436,7 +436,7 @@ const Wrapper = styled("div")({
left: 0, left: 0,
right: 0, right: 0,
bottom: NAVIGATION_HEIGH + 1, bottom: NAVIGATION_HEIGH + 1,
overscrollBehavior: "none" overscrollBehavior: "none",
}); });
const SheetCanvas = styled("canvas")` const SheetCanvas = styled("canvas")`