We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1c6412 commit 283dc3dCopy full SHA for 283dc3d
src/commons/application/ApplicationWrapper.tsx
@@ -26,7 +26,9 @@ const ApplicationWrapper: React.FC = () => {
26
const [isApiHealthy, setIsApiHealthy] = useState(true);
27
28
useEffect(() => {
29
- getHealth().then(res => setIsApiHealthy(!!res));
+ if (Constants.useBackend) {
30
+ getHealth().then(res => setIsApiHealthy(!!res));
31
+ }
32
}, []);
33
34
const router = useMemo(() => {
0 commit comments