Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 15, 2025
1 parent d120e7b commit 2f0ed14
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions frontend/src/core/saving/save-component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import { useAtom, useAtomValue, useSetAtom } from "jotai";
import { formatAll } from "../codemirror/format";
import { useFilename, useUpdateFilename } from "./filename";
import { connectionAtom } from "../network/connection";
import { autoSaveConfigAtom, resolvedMarimoConfigAtom } from "../config/config";
import { autoSaveConfigAtom } from "../config/config";
import { lastSavedNotebookAtom, needsSaveAtom } from "./state";
import { Tooltip } from "@/components/ui/tooltip";
import { RecoveryButton } from "@/components/editor/RecoveryButton";
Expand All @@ -33,7 +33,6 @@ import { SaveIcon } from "lucide-react";
import { useHotkey } from "@/hooks/useHotkey";
import { Button as ControlButton } from "@/components/editor/inputs/Inputs";
import { useAutoExport } from "../export/hooks";
import {autoMaxBins} from "vega-lite/build/src/bin";

interface SaveNotebookProps {
kioskMode: boolean;
Expand Down Expand Up @@ -77,7 +76,7 @@ export const SaveComponent = ({ kioskMode, appConfig }: SaveNotebookProps) => {
};

export function useSaveNotebook({ kioskMode, appConfig }: SaveNotebookProps) {
const autoSaveConfig = useAtomValue(autoSaveConfigAtom)
const autoSaveConfig = useAtomValue(autoSaveConfigAtom);
const { updateCellCode } = useCellActions();
const notebook = useNotebook();
const [connection] = useAtom(connectionAtom);
Expand Down

0 comments on commit 2f0ed14

Please sign in to comment.