fix: remove unused overview token prop
This commit is contained in:
@@ -315,7 +315,7 @@ function ViewPanel({
|
|||||||
return (
|
return (
|
||||||
<section className="panel view-panel">
|
<section className="panel view-panel">
|
||||||
{activeView === "overview" && (
|
{activeView === "overview" && (
|
||||||
<Overview tenantID={tenantID} projectID={projectID} token={token} />
|
<Overview tenantID={tenantID} projectID={projectID} />
|
||||||
)}
|
)}
|
||||||
{activeView === "vms" && (
|
{activeView === "vms" && (
|
||||||
<VMView
|
<VMView
|
||||||
@@ -340,11 +340,9 @@ function ViewPanel({
|
|||||||
function Overview({
|
function Overview({
|
||||||
tenantID,
|
tenantID,
|
||||||
projectID,
|
projectID,
|
||||||
token,
|
|
||||||
}: {
|
}: {
|
||||||
tenantID: string;
|
tenantID: string;
|
||||||
projectID: string;
|
projectID: string;
|
||||||
token: string;
|
|
||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
@@ -406,4 +404,4 @@ ReactDOM.createRoot(document.getElementById("root")!).render(
|
|||||||
<React.StrictMode>
|
<React.StrictMode>
|
||||||
<App />
|
<App />
|
||||||
</React.StrictMode>
|
</React.StrictMode>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user