UI - removed unnecessary code

This commit is contained in:
Hoang Pham 2021-12-20 12:23:55 -06:00
parent 9086587e06
commit 7dc9df425d

View file

@ -58,9 +58,6 @@ function useProvideAuth() {
.then((res) => {
if (res.status === 204) {
// Authentication is off
res.data.startsWith(
"Trying to authenticate but authentication is off"
);
setAuthOn(false);
} else {
// Turn on Authentication