fix: joinPath import from pathe

This commit is contained in:
LynithDev 2024-08-04 13:09:43 +02:00
parent fc276f0b22
commit 00ca74bf4f

View file

@ -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() {