Skip to content

Commit 99b729e

Browse files
catrawalkarjhuleatt
authored andcommitted
'added_React_Fragment' (#180)
1 parent 3875691 commit 99b729e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reactfire/auth/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ export function ClaimsCheck({ user, fallback, children, requiredClaims }) {
8787
});
8888

8989
if (Object.keys(missingClaims).length === 0) {
90-
return children;
90+
return <>{children}</>;
9191
} else {
92-
return fallback;
92+
return <>{fallback}</>;
9393
}
9494
}
9595

0 commit comments

Comments
 (0)