fix: joinPath import from pathe
This commit is contained in:
parent
fc276f0b22
commit
00ca74bf4f
1 changed files with 2 additions and 2 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue