Skip to content

Commit

Permalink
Merge branch 'master' into cas
Browse files Browse the repository at this point in the history
  • Loading branch information
RichDom2185 authored Nov 21, 2023
2 parents e20cc4f + 283dc3d commit 4413f5b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/commons/application/ApplicationWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ const ApplicationWrapper: React.FC = () => {
const [isApiHealthy, setIsApiHealthy] = useState(true);

useEffect(() => {
getHealth().then(res => setIsApiHealthy(!!res));
if (Constants.useBackend) {
getHealth().then(res => setIsApiHealthy(!!res));
}
}, []);

const router = useMemo(() => {
Expand Down

0 comments on commit 4413f5b

Please sign in to comment.