Skip to content

Commit

Permalink
chore: biome check apply
Browse files Browse the repository at this point in the history
  • Loading branch information
daavidrgz committed Nov 4, 2024
1 parent 0b828d4 commit 56b77cd
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Button, type ButtonProps } from "@/components/ui/button";
import { cn } from "@/lib/utils";
import React, { useEffect } from "react";
import React from "react";
import { Tooltip, TooltipContent, TooltipTrigger } from "../ui/tooltip";

interface Props extends ButtonProps {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { useSettings } from "@/providers/settings-provider";
import { useWorker } from "@/providers/worker-provider";
import { json } from "@codemirror/lang-json";
import CodeMirror from "@uiw/react-codemirror";
import { useCallback, useEffect, useState } from "react";
import { useCallback, useState } from "react";
import { formatCode } from "../editor/editor-utils";
import SimpleEditor from "../editor/simple-editor";
import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from "../ui/accordion";
Expand Down
4 changes: 1 addition & 3 deletions crates/web/frontend/src/components/footer/footer.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import { cn } from "@/lib/utils";
import { LinkEditor } from "../link-editor/link-editor";
import ShortcutPopup from "../shortcut-popup/shortcut-popup";
import StarCount from "../star-count/star-count";
import ActionButton from "../action-button/action-button";
import { Link, Link2, Link2Off, Unlink } from "lucide-react";
import { WebAssemblyBadge } from "../web-assembly-badge/web-assembly-badge";
import { LinkEditor } from "../link-editor/link-editor";

interface FooterProps {
linkEditors: boolean;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { useOnboarding } from "@/hooks/use-onboarding";
import { cn, isMac } from "@/lib/utils";
import type { Data } from "@/model/data";
import type FileType from "@/model/file-type";
Expand All @@ -9,8 +10,6 @@ import HistoryTab from "../history-tab/history-tab";
import SettingsTab from "../settings-tab/settings-tab";
import ShareTab from "../share-tab/share-tab";
import ThemeButton from "../theme-button/theme-button";
import OnboardingPopup from "../onboarding-popup/onboarding-popup";
import { useOnboarding } from "@/hooks/use-onboarding";

type Tab = "examples" | "share" | "history" | "settings";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { cn } from "@/lib/utils";
import ActionButton from "../action-button/action-button";
import { Link, Unlink } from "lucide-react";
import ActionButton from "../action-button/action-button";

interface Props {
linkEditors: boolean;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import ActionButton from "@/components/action-button/action-button";
import { Label } from "@/components/ui/label";
import {
Select,
Expand All @@ -9,14 +8,6 @@ import {
SelectTrigger,
SelectValue,
} from "@/components/ui/select";
import {
Sheet,
SheetContent,
SheetDescription,
SheetHeader,
SheetTitle,
SheetTrigger,
} from "@/components/ui/sheet";
import { Slider } from "@/components/ui/slider";
import { Switch } from "@/components/ui/switch";
import {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { cn, formatNumber } from "@/lib/utils";
import { formatNumber } from "@/lib/utils";
import { Github, Star } from "lucide-react";
import { type MouseEvent, useCallback, useEffect, useState } from "react";
import ActionButton from "../action-button/action-button";
Expand Down

0 comments on commit 56b77cd

Please sign in to comment.