FIX do not redirect user in development
@@ -2,7 +2,7 @@ import React from 'react';
export default function AboutRedirect({user}) {
React.useEffect(() => {
- if (user === null) {
+ if (process.env.NODE_ENV != 'development' && user === null) {
window.location = 'https://anubis-lms.io/';
window.reload(false);
}
