Skip to content

Commit c3bb6ff

Browse files
committed
Fix XState warning
1 parent fa75015 commit c3bb6ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/src/xServices/StateContext.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export const XServiceProvider: React.FC = ({ children }) => {
3131
value={{
3232
authXService: useInterpret(authMachine),
3333
buildInfoXService: useInterpret(buildInfoMachine),
34-
usersXService: useInterpret(usersMachine.withConfig({ actions: { redirectToUsersPage } })),
34+
usersXService: useInterpret(() => usersMachine.withConfig({ actions: { redirectToUsersPage } })),
3535
}}
3636
>
3737
{children}

0 commit comments

Comments
 (0)