From e6f28f6244d48ec5c19a1ab42a6faa8e41c7067c Mon Sep 17 00:00:00 2001 From: ashrafchowdury Date: Mon, 10 Jun 2024 21:25:09 +0600 Subject: [PATCH] refactor: improved the testset new api page imports --- .../pages/apps/[app_id]/testsets/new/api/index.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/agenta-web/src/pages/apps/[app_id]/testsets/new/api/index.tsx b/agenta-web/src/pages/apps/[app_id]/testsets/new/api/index.tsx index 43c03465b1..829788c3e1 100644 --- a/agenta-web/src/pages/apps/[app_id]/testsets/new/api/index.tsx +++ b/agenta-web/src/pages/apps/[app_id]/testsets/new/api/index.tsx @@ -1,12 +1,12 @@ import DynamicCodeBlock from "@/components/DynamicCodeBlock/DynamicCodeBlock" -import pythonCode from "../../../../../../code_snippets/testsets/create_with_json/python" -import cURLCode from "../../../../../../code_snippets/testsets/create_with_json/curl" -import tsCode from "../../../../../../code_snippets/testsets/create_with_json/typescript" +import pythonCode from "@/code_snippets/testsets/create_with_json/python" +import cURLCode from "@/code_snippets/testsets/create_with_json/curl" +import tsCode from "@/code_snippets/testsets/create_with_json/typescript" -import pythonCodeUpload from "../../../../../../code_snippets/testsets/create_with_upload/python" -import cURLCodeUpload from "../../../../../../code_snippets/testsets/create_with_upload/curl" -import tsCodeUpload from "../../../../../../code_snippets/testsets/create_with_upload/typescript" +import pythonCodeUpload from "@/code_snippets/testsets/create_with_upload/python" +import cURLCodeUpload from "@/code_snippets/testsets/create_with_upload/curl" +import tsCodeUpload from "@/code_snippets/testsets/create_with_upload/typescript" import {Typography} from "antd" import {useRouter} from "next/router" import {createUseStyles} from "react-jss"