FIX: Proper imports
This commit is contained in:
committed by
Nicolás Hatcher Andrés
parent
8c0a566995
commit
b495397b5f
@@ -2,9 +2,9 @@ import type { Model } from "@ironcalc/wasm";
|
||||
import { Button, styled } from "@mui/material";
|
||||
import { ChevronDown } from "lucide-react";
|
||||
import { Fx } from "../icons";
|
||||
import { FORMULA_BAR_HEIGH } from "./constants";
|
||||
import Editor from "./editor/editor";
|
||||
import type { WorkbookState } from "./workbookState";
|
||||
import { FORMULA_BAR_HEIGH } from "./constants";
|
||||
|
||||
type FormulaBarProps = {
|
||||
cellAddress: string;
|
||||
|
||||
@@ -2,12 +2,12 @@ import { styled } from "@mui/material";
|
||||
import { ChevronLeft, ChevronRight, Menu, Plus } from "lucide-react";
|
||||
import { useState } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { NAVIGATION_HEIGH } from "../constants";
|
||||
import { StyledButton } from "../toolbar";
|
||||
import type { WorkbookState } from "../workbookState";
|
||||
import SheetListMenu from "./menus";
|
||||
import Sheet from "./sheet";
|
||||
import type { SheetOptions } from "./types";
|
||||
import { NAVIGATION_HEIGH } from "../constants";
|
||||
|
||||
export interface NavigationProps {
|
||||
sheets: SheetOptions[];
|
||||
|
||||
@@ -36,13 +36,13 @@ import {
|
||||
import { theme } from "../theme";
|
||||
import BorderPicker from "./borderPicker";
|
||||
import ColorPicker from "./colorPicker";
|
||||
import { TOOLBAR_HEIGH } from "./constants";
|
||||
import FormatMenu from "./formatMenu";
|
||||
import {
|
||||
NumberFormats,
|
||||
decreaseDecimalPlaces,
|
||||
increaseDecimalPlaces,
|
||||
} from "./formatUtil";
|
||||
import { TOOLBAR_HEIGH } from "./constants";
|
||||
|
||||
type ToolbarProperties = {
|
||||
canUndo: boolean;
|
||||
|
||||
@@ -6,11 +6,15 @@ import {
|
||||
outlineColor,
|
||||
} from "./WorksheetCanvas/constants";
|
||||
import WorksheetCanvas from "./WorksheetCanvas/worksheetCanvas";
|
||||
import {
|
||||
FORMULA_BAR_HEIGH,
|
||||
NAVIGATION_HEIGH,
|
||||
TOOLBAR_HEIGH,
|
||||
} from "./constants";
|
||||
import Editor from "./editor/editor";
|
||||
import type { Cell } from "./types";
|
||||
import usePointer from "./usePointer";
|
||||
import { AreaType, type WorkbookState } from "./workbookState";
|
||||
import { FORMULA_BAR_HEIGH, NAVIGATION_HEIGH, TOOLBAR_HEIGH } from "./constants";
|
||||
|
||||
function useWindowSize() {
|
||||
const [size, setSize] = useState([0, 0]);
|
||||
|
||||
Reference in New Issue
Block a user