Last analyzed 73e26eb 3 months ago
Default analysis branch is
Currently analyzing run
Found template literal expression having a non-string type JS-0378
Anti-pattern
4 months ago4 months old
Invalid type in template literal
13    if (token.length === 0) return {};
14    setReady(true);
15    return {
16      Authorization: `Bearer ${token}`,17    };
18  }, [token]) as Record<string, string>;
19