From 00ca74bf4f9bfd6c828c1ad1c82966837b7c6f1d Mon Sep 17 00:00:00 2001 From: LynithDev <61880709+LynithDev@users.noreply.github.com> Date: Sun, 4 Aug 2024 13:09:43 +0200 Subject: [PATCH] fix: joinPath import from pathe --- apps/frontend/src/ui/pages/cluster/ClusterOverview.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/frontend/src/ui/pages/cluster/ClusterOverview.tsx b/apps/frontend/src/ui/pages/cluster/ClusterOverview.tsx index b63158f3..0f958de7 100644 --- a/apps/frontend/src/ui/pages/cluster/ClusterOverview.tsx +++ b/apps/frontend/src/ui/pages/cluster/ClusterOverview.tsx @@ -17,7 +17,7 @@ import { bridge } from '~imports'; import TextField from '~ui/components/base/TextField'; import SettingsRow from '~ui/components/SettingsRow'; import useSettingsContext from '~ui/hooks/useSettings'; -import joinPath from '~utils/helpers'; +import { join } from 'pathe'; function ClusterOverview() { const settings = useSettingsContext(); @@ -45,7 +45,7 @@ function ClusterOverview() { if (typeof clusterPath !== 'string' || typeof configDir !== 'string') return ''; - return joinPath(configDir, 'clusters', clusterPath); + return join(configDir, 'clusters', clusterPath); } function openPath() {