Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
alicenstar committed Oct 20, 2023
1 parent a645868 commit 8e683a7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
7 changes: 1 addition & 6 deletions web/src/Root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -579,12 +579,7 @@ const Root = () => {
<>
<Route
path="/:slug/cluster/manage"
element={
<HelmVMClusterManagement
fromLicenseFlow={true}
appName={state.selectedAppName || undefined}
/>
}
element={<HelmVMClusterManagement fromLicenseFlow={true} />}
/>
<Route
path="/:slug/cluster/:nodeName"
Expand Down
2 changes: 0 additions & 2 deletions web/src/components/apps/HelmVMClusterManagement.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,8 @@ type State = {

const HelmVMClusterManagement = ({
fromLicenseFlow = false,
appName,
}: {
fromLicenseFlow?: boolean;
appName?: string;
}) => {
const [state, setState] = useReducer(
(prevState: State, newState: Partial<State>) => ({
Expand Down
2 changes: 1 addition & 1 deletion web/src/components/apps/HelmVMViewNode.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const HelmVMViewNode = () => {
"failed to get node status list, unexpected status code",
err.status
);
}
},
});

const node = nodeData || testData;
Expand Down

0 comments on commit 8e683a7

Please sign in to comment.