mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fixup after rebase
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
7b7d9d286d
commit
d539cf9d37
@ -9,11 +9,12 @@ import type { UserStore } from "../../../../../../../common/user-store";
|
||||
import userStoreInjectable from "../../../../../../../common/user-store/user-store.injectable";
|
||||
import { observer } from "mobx-react";
|
||||
import { Input, InputValidators } from "../../../../../../../renderer/components/input";
|
||||
import directoryForBinariesInjectable from "../../../../../../../common/app-paths/directory-for-binaries/directory-for-binaries.injectable";
|
||||
import directoryForBinariesInjectable from "../../../../../../../common/app-paths/directory-for-binaries.injectable";
|
||||
import type { LazyInitializableState } from "../../../../../../../common/initializable-state/create-lazy";
|
||||
|
||||
interface Dependencies {
|
||||
userStore: UserStore;
|
||||
defaultPathForGeneralBinaries: string;
|
||||
defaultPathForGeneralBinaries: LazyInitializableState<string>;
|
||||
}
|
||||
|
||||
const NonInjectedKubectlDirectoryForBinaries = observer(
|
||||
@ -31,7 +32,7 @@ const NonInjectedKubectlDirectoryForBinaries = observer(
|
||||
<Input
|
||||
theme="round-black"
|
||||
value={downloadPath}
|
||||
placeholder={defaultPathForGeneralBinaries}
|
||||
placeholder={defaultPathForGeneralBinaries.get()}
|
||||
validators={pathValidator}
|
||||
onChange={setDownloadPath}
|
||||
onBlur={save}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user