CEC-2752-Add-Mobile-Issue-Tracker (#250)

* first commit

* removed comments

* remove more comments

* fix build issues

* fix unused vars

* update snapshot

* fix test

* Fix connect ECONNREFUSED 127.0.0.1:80

* Test Magna side menu

* attempt to pass test

* fix test

* remove comments

* fix some code smells

* fix test

* resolve comments

* fix bug

* resolved comments

* resolve comments

* resolve comments

* update snapshot

* resolved comments

Co-authored-by: jwu-fisker <jwu@fiskerinc.com>
This commit is contained in:
das31
2023-01-09 13:17:41 -05:00
committed by GitHub
parent 097d58656a
commit 28135b4829
23 changed files with 3024 additions and 131 deletions

View File

@@ -1,10 +1,10 @@
import { embedDashboard } from "@superset-ui/embedded-sdk";
import React, { useEffect } from "react";
import { useHistory } from "react-router-dom";
import api from "../../services/superset";
import { useStatusContext } from "../Contexts/StatusContext";
import { useUserContext } from "../Contexts/UserContext";
import './index.css'
import { embedDashboard } from "@superset-ui/embedded-sdk";
import { useHistory } from "react-router-dom";
import './index.css';
const Dashboard = () => {
@@ -29,7 +29,7 @@ const Dashboard = () => {
fetchGuestToken: () => api.getGuestToken(token),
dashboardUiConfig: { hideTab: true, hideTitle: true }, // dashboard UI config: hideTitle, hideTab, hideChartControls (optional)
});
// eslint-disable-next-line react-hooks/exhaustive-deps
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [history.location]);
return (