feat: implement login auth for all
also show the username underneath the logo
This commit is contained in:
@@ -43,16 +43,6 @@ export const GraphComponent = () => {
|
||||
const [popularity, setPopularity] = useState(false);
|
||||
const [mutuality, setMutuality] = useState(false);
|
||||
|
||||
const logo = document.getElementById("logo");
|
||||
if (logo) {
|
||||
logo.className = "logo networkroute";
|
||||
}
|
||||
const footer = document.getElementsByTagName("footer");
|
||||
if (footer) {
|
||||
footer.length &&
|
||||
((footer.item(0) as HTMLElement).className = "fixed-footer");
|
||||
}
|
||||
|
||||
async function loadData() {
|
||||
setLoading(true);
|
||||
await apiAuth("analysis/graph_json", null)
|
||||
|
Reference in New Issue
Block a user