File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import React from "react" ;
2- import axios from "axios" ;
32
43import Button from "@material-ui/core/Button" ;
54import 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 (
Original file line number Diff line number Diff line change @@ -43,8 +43,7 @@ import {
4343 displayValid ,
4444 queryValid ,
4545 updateHash ,
46- baseUrl ,
47- corsProxy
46+ baseUrl
4847} from "./globals" ;
4948import { isUUID , showNotification } from "./utils" ;
5049import ContextMain from "./ContextMain" ;
@@ -53,7 +52,6 @@ import { withSnackbar } from "notistack";
5352import WarningBox from "./WarningBox" ;
5453import 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
You can’t perform that action at this time.
0 commit comments