thekevinscott / UpscalerJS

Found single char variable name JS-C1002
Anti-pattern
Minor
6 months ago9 months old
 66  const fetchUrl = useCallback(async (isBrowser: boolean, url: string, attempts = 0) => {
 67    if (isBrowser) {
 68      try {
 69        const r = await fetch(url); 70        const j = await r.json();
 71        if (mounted.current) {
 72          setResult(j);