From 6bb21ff8d48c2fa57799dcb5b55e671f9394e742 Mon Sep 17 00:00:00 2001 From: Chris Harris Date: Tue, 4 Feb 2020 13:34:56 -0500 Subject: [PATCH] Only enable NERSC login for NERSC deployment --- src/App.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/App.js b/src/App.js index 66ca642..164bbc0 100644 --- a/src/App.js +++ b/src/App.js @@ -82,6 +82,7 @@ class App extends Component { site === 'development') { development = true; } + const nersc = site === 'nersc'; return ( @@ -142,9 +143,9 @@ class App extends Component { - - - + + {development && } + {nersc && }