Skip to content

Commit

Permalink
fix(core): 没有传递参数
Browse files Browse the repository at this point in the history
  • Loading branch information
stbui committed Jan 6, 2020
1 parent fef18fd commit 8adf1b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/auth/Authenticated.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const Authenticated: FunctionComponent<AuthenticatedProps> = ({
location,
...other
}) => {
useAuthenticated();
useAuthenticated(authParams);

return cloneElement(children, other);
};
Expand Down

0 comments on commit 8adf1b4

Please sign in to comment.