Skip to content

Commit

Permalink
Fix TS error in Login.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
slax57 committed Jul 9, 2024
1 parent f115de9 commit fe2f1b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ra-ui-materialui/src/auth/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const Login = (props: LoginProps) => {
avatarIcon = defaultAvatarIcon,
...rest
} = props;
const containerRef = useRef<HTMLDivElement>();
const containerRef = useRef<HTMLDivElement>(null);
let backgroundImageLoaded = false;
const checkAuth = useCheckAuth();
const navigate = useNavigate();
Expand Down

0 comments on commit fe2f1b9

Please sign in to comment.