Skip to content

Commit 884b0b2

Browse files
adding auto fixable issues
1 parent 9d3c6c5 commit 884b0b2

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

src/components/Dialogs/KubectlCommandInfo/KubectlBaseDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export const KubectlBaseDialog = ({
5454
initialValues[field.id] = field.defaultValue;
5555
});
5656
setFormValues(initialValues);
57-
}, [formFields]);
57+
}, []);
5858

5959
const handleFieldChange =
6060
(fieldId: string) => (event: Ui5CustomEvent<InputDomRef>) => {

src/components/Shared/ConfiguredAnalyticsTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default function ConfiguredAnalyticsTable(props: Props) {
2323
scaleWidthMode={AnalyticalTableScaleWidthMode.Smart}
2424
loading={props.isLoading}
2525
filterable
26-
style={{margin: "12px"}}
26+
style={{ margin: '12px' }}
2727
/>
2828
);
2929
}

src/context/FrontendConfigContext.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@ interface FrontendConfigContextProps {
1717
links: DocLinkCreator;
1818
}
1919

20-
export const FrontendConfigContext = createContext<FrontendConfigContextProps | null>(
21-
null,
22-
);
23-
20+
export const FrontendConfigContext =
21+
createContext<FrontendConfigContextProps | null>(null);
2422

2523
const fetchPromise = fetch('/frontend-config.json').then((res) => res.json());
2624

2725
interface FrontendConfigProviderProps {
2826
children: ReactNode;
2927
}
3028

31-
export function FrontendConfigProvider({ children }: FrontendConfigProviderProps) {
29+
export function FrontendConfigProvider({
30+
children,
31+
}: FrontendConfigProviderProps) {
3232
const config = use(fetchPromise);
3333
const docLinks = new DocLinkCreator(config.documentationBaseUrl);
3434
const value: FrontendConfigContextProps = {

src/types/__generated__/graphql/index.ts

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)