Skip to content

Commit a5cb87b

Browse files
committed
style: format code
1 parent 4977764 commit a5cb87b

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

web/app/components/memshell/main-config-card.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ import {
5151
type ServerConfig,
5252
ShellToolType,
5353
} from "@/types/memshell";
54-
import type { MemShellFormSchema } from "@/types/schema.ts";
54+
import type { MemShellFormSchema } from "@/types/schema";
5555

5656
const shellToolIcons: Record<ShellToolType, JSX.Element> = {
5757
[ShellToolType.Behinder]: <ShieldOffIcon className="h-4 w-4" />,

web/app/components/memshell/package-config-card.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {
1111
} from "@/components/ui/form";
1212
import { RadioGroup, RadioGroupItem } from "@/components/ui/radio-group";
1313
import type { PackerConfig } from "@/types/memshell";
14-
import type { MemShellFormSchema } from "@/types/schema.ts";
14+
import type { MemShellFormSchema } from "@/types/schema";
1515

1616
type Option = {
1717
name: string;

web/app/components/memshell/shell-result.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { toast } from "sonner";
55
import { QuickUsage } from "@/components/memshell/quick-usage";
66
import { Button } from "@/components/ui/button";
77
import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs";
8-
import { downloadBytes } from "@/lib/utils.ts";
8+
import { downloadBytes } from "@/lib/utils";
99
import type { MemShellResult } from "@/types/memshell";
1010
import CodeViewer from "../code-viewer";
1111
import { BasicInfo } from "./results/basic-info";

web/app/components/memshell/tabs/classname-field.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { useTranslation } from "react-i18next";
55
import { FormField, FormFieldItem, FormFieldLabel } from "@/components/ui/form";
66
import { Input } from "@/components/ui/input";
77
import { Switch } from "@/components/ui/switch";
8-
import type { MemShellFormSchema } from "@/types/schema.ts";
8+
import type { MemShellFormSchema } from "@/types/schema";
99

1010
export function OptionalClassFormField({
1111
form,

web/app/components/memshell/tabs/custom-tab.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import { Label } from "@/components/ui/label";
1515
import { RadioGroup, RadioGroupItem } from "@/components/ui/radio-group";
1616
import { TabsContent } from "@/components/ui/tabs";
1717
import { Textarea } from "@/components/ui/textarea";
18-
import { env } from "@/config.ts";
18+
import { env } from "@/config";
1919
import type { MemShellFormSchema } from "@/types/schema";
2020
import { OptionalClassFormField } from "./classname-field";
2121
import { ShellTypeFormField } from "./shelltype-field";

web/app/components/memshell/tabs/shelltype-field.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {
1313
SelectTrigger,
1414
SelectValue,
1515
} from "@/components/ui/select";
16-
import type { MemShellFormSchema } from "@/types/schema.ts";
16+
import type { MemShellFormSchema } from "@/types/schema";
1717

1818
export function ShellTypeFormField({
1919
form,

web/app/components/memshell/tabs/urlpattern-field.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
} from "@/components/ui/form";
99
import { Input } from "@/components/ui/input";
1010
import { shouldHidden } from "@/lib/utils";
11-
import type { MemShellFormSchema } from "@/types/schema.ts";
11+
import type { MemShellFormSchema } from "@/types/schema";
1212

1313
export function UrlPatternFormField({
1414
form,

web/app/utils/transformer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import type { ProbeConfig, ProbeContentConfig } from "@/types/probeshell";
77
import type {
88
MemShellFormSchema,
99
ProbeShellFormSchema,
10-
} from "@/types/schema.ts";
10+
} from "@/types/schema";
1111

1212
export function transformToPostData(formValue: MemShellFormSchema) {
1313
const shellConfig: ShellConfig = {

0 commit comments

Comments
 (0)