From: Daniel Karbach Date: Thu, 11 Jan 2024 19:23:31 +0000 (+0100) Subject: fix withUser X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=de54817c3d50f64e242a28860d9763a8dacfe4c9;p=alttp.git fix withUser --- diff --git a/resources/js/hooks/user.js b/resources/js/hooks/user.js index c0e6cac..03173d5 100644 --- a/resources/js/hooks/user.js +++ b/resources/js/hooks/user.js @@ -13,7 +13,7 @@ export const useUser = () => React.useContext(context); export const withUser = (WrappedComponent, as) => function WithUserContext(props) { return - {user => } + {ctx => } ; };