1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix type error

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2022-06-21 14:27:40 -04:00
parent 8c6aabf29b
commit 0f54aac375

View File

@ -43,7 +43,8 @@ const NonInjectedNamespaceSelectFilter = observer(({ model, id }: Dependencies &
formatOptionLabel={model.formatOptionLabel} formatOptionLabel={model.formatOptionLabel}
options={model.options.get()} options={model.options.get()}
className="NamespaceSelect NamespaceSelectFilter" className="NamespaceSelect NamespaceSelectFilter"
menuClass="NamespaceSelectFilterMenu" /> menuClass="NamespaceSelectFilterMenu"
/>
</div> </div>
)); ));
@ -54,7 +55,7 @@ export const NamespaceSelectFilter = withInjectables<Dependencies, NamespaceSele
}), }),
}); });
export interface CustomPlaceholderProps extends PlaceholderProps<NamespaceSelectFilterOption, boolean> {} export interface CustomPlaceholderProps extends PlaceholderProps<NamespaceSelectFilterOption, true> {}
interface PlaceholderDependencies { interface PlaceholderDependencies {
namespaceStore: NamespaceStore; namespaceStore: NamespaceStore;