From 7bc563ef29c9d5af71366dd7be8fe3acc46f2a28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Hatcher?= Date: Tue, 25 Feb 2025 23:47:02 +0100 Subject: [PATCH] FIX: Make biome happy --- webapp/IronCalc/src/components/FormulaBar/FormulaBar.tsx | 2 +- webapp/IronCalc/src/components/Worksheet/Worksheet.tsx | 2 +- webapp/IronCalc/src/components/Worksheet/usePointer.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/webapp/IronCalc/src/components/FormulaBar/FormulaBar.tsx b/webapp/IronCalc/src/components/FormulaBar/FormulaBar.tsx index dab0668..df1bfbb 100644 --- a/webapp/IronCalc/src/components/FormulaBar/FormulaBar.tsx +++ b/webapp/IronCalc/src/components/FormulaBar/FormulaBar.tsx @@ -2,12 +2,12 @@ import type { Model } from "@ironcalc/wasm"; import { styled } from "@mui/material"; import { Fx } from "../../icons"; import { theme } from "../../theme"; +import Editor from "../Editor/Editor"; import { COLUMN_WIDTH_SCALE, ROW_HEIGH_SCALE, } from "../WorksheetCanvas/constants"; import { FORMULA_BAR_HEIGHT } from "../constants"; -import Editor from "../Editor/Editor"; import type { WorkbookState } from "../workbookState"; type FormulaBarProps = { diff --git a/webapp/IronCalc/src/components/Worksheet/Worksheet.tsx b/webapp/IronCalc/src/components/Worksheet/Worksheet.tsx index fa2ce1d..1ba4296 100644 --- a/webapp/IronCalc/src/components/Worksheet/Worksheet.tsx +++ b/webapp/IronCalc/src/components/Worksheet/Worksheet.tsx @@ -1,6 +1,7 @@ import { type Model, columnNameFromNumber } from "@ironcalc/wasm"; import { styled } from "@mui/material/styles"; import { useEffect, useLayoutEffect, useRef, useState } from "react"; +import Editor from "../Editor/Editor"; import { COLUMN_WIDTH_SCALE, LAST_COLUMN, @@ -15,7 +16,6 @@ import { NAVIGATION_HEIGHT, TOOLBAR_HEIGHT, } from "../constants"; -import Editor from "../Editor/Editor"; import type { Cell } from "../types"; import { AreaType, type WorkbookState } from "../workbookState"; import CellContextMenu from "./CellContextMenu"; diff --git a/webapp/IronCalc/src/components/Worksheet/usePointer.ts b/webapp/IronCalc/src/components/Worksheet/usePointer.ts index 7c36f15..832cb7e 100644 --- a/webapp/IronCalc/src/components/Worksheet/usePointer.ts +++ b/webapp/IronCalc/src/components/Worksheet/usePointer.ts @@ -1,11 +1,11 @@ import type { Model } from "@ironcalc/wasm"; import { type PointerEvent, type RefObject, useCallback, useRef } from "react"; +import { isInReferenceMode } from "../Editor/util"; import type WorksheetCanvas from "../WorksheetCanvas/worksheetCanvas"; import { headerColumnWidth, headerRowHeight, } from "../WorksheetCanvas/worksheetCanvas"; -import { isInReferenceMode } from "../Editor/util"; import type { Cell } from "../types"; import { rangeToStr } from "../util"; import type { WorkbookState } from "../workbookState";