mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Test small cleanup
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
26355504f3
commit
1db728c6da
@ -56,7 +56,7 @@ const newMenuItem = getInjectable({
|
||||
injectionToken: clusterIconSettingsMenuInjectionToken,
|
||||
});
|
||||
|
||||
function customSettingsComponent(props: ClusterIconSettingComponentProps) {
|
||||
function CustomSettingsComponent(props: ClusterIconSettingComponentProps) {
|
||||
return (
|
||||
<div data-testid="my-react-component">
|
||||
<span>Test React Component</span>
|
||||
@ -73,7 +73,7 @@ const newSettingsReactComponent = getInjectable({
|
||||
|
||||
instantiate: () => ({
|
||||
id: "test-react-component",
|
||||
Component: customSettingsComponent,
|
||||
Component: CustomSettingsComponent,
|
||||
}),
|
||||
|
||||
injectionToken: clusterIconSettingsComponentInjectionToken,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user