mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-20 09:20:16 +00:00
Add Files to TypeScript Strict Mode (#777)
This commit is contained in:
committed by
GitHub
parent
d76aaca0dd
commit
2d506f0312
@@ -18,7 +18,7 @@ export async function fetchPhoto(accessToken: string): Promise<Blob | void> {
|
||||
}
|
||||
|
||||
export function useGraphPhoto(graphToken: string): string {
|
||||
const [photo, setPhoto] = useState<string>();
|
||||
const [photo, setPhoto] = useState<string>("");
|
||||
|
||||
useEffect(() => {
|
||||
if (graphToken) {
|
||||
|
||||
Reference in New Issue
Block a user