From 15fb9d795eb140dd5cbdd792079897349cf0303c Mon Sep 17 00:00:00 2001 From: EiffelFly <57251712+EiffelFly@users.noreply.github.com> Date: Thu, 15 Feb 2024 22:03:33 +0800 Subject: [PATCH] fix: fix rebase issue --- packages/toolkit/package.json | 2 +- .../toolkit/src/view/pipeline/view-pipeline/ViewPipeline.tsx | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/toolkit/package.json b/packages/toolkit/package.json index 417da8251a..c4c7c65b2b 100644 --- a/packages/toolkit/package.json +++ b/packages/toolkit/package.json @@ -1,6 +1,6 @@ { "name": "@instill-ai/toolkit", - "version": "0.80.4-rc.12", + "version": "0.80.4-rc.13", "description": "Instill AI's frontend toolkit", "repository": "https://github.com/instill-ai/design-system.git", "bugs": "https://github.com/instill-ai/design-system/issues", diff --git a/packages/toolkit/src/view/pipeline/view-pipeline/ViewPipeline.tsx b/packages/toolkit/src/view/pipeline/view-pipeline/ViewPipeline.tsx index c57b8462dc..0b2fed7230 100644 --- a/packages/toolkit/src/view/pipeline/view-pipeline/ViewPipeline.tsx +++ b/packages/toolkit/src/view/pipeline/view-pipeline/ViewPipeline.tsx @@ -21,9 +21,14 @@ const selector = (store: InstillStore) => ({ export const ViewPipeline = () => { const { accessToken, enabledQuery } = useInstillStore(useShallow(selector)); + const [currentVersion, setCurrentVersion] = React.useState("latest"); const router = useRouter(); + function handleVersion(version: string) { + setCurrentVersion(version); + } + const me = useAuthenticatedUser({ enabled: enabledQuery, accessToken,