Skip to content

Commit 4cd1194

Browse files
committed
cleanup
1 parent 1bfd017 commit 4cd1194

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

apps/model_catalog/src/AuthWidget.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import React from "react";
2-
import axios from "axios";
32

43
import Button from "@material-ui/core/Button";
54
import IconButton from "@material-ui/core/IconButton";
@@ -13,7 +12,6 @@ function AuthWidget(props) {
1312
const context = React.useContext(ContextMain);
1413
const [auth] = context.auth;
1514

16-
React.useEffect(() => {}, [props, auth]);
1715

1816
if (props.currentUser) {
1917
return (

apps/model_catalog/src/ValidationFramework.jsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ import {
4343
displayValid,
4444
queryValid,
4545
updateHash,
46-
baseUrl,
47-
corsProxy
46+
baseUrl
4847
} from "./globals";
4948
import { isUUID, showNotification } from "./utils";
5049
import ContextMain from "./ContextMain";
@@ -53,7 +52,6 @@ import { withSnackbar } from "notistack";
5352
import WarningBox from "./WarningBox";
5453
import AuthWidget from "./AuthWidget";
5554

56-
5755
// if working on the appearance/layout set globals.DevMode=true
5856
// to avoid loading the models and tests over the network every time;
5957
// instead we use the local sample_data_models and sample_data_tests files

0 commit comments

Comments
 (0)