Updated the useUser hook to avoid unwrapping the query object directly, which leads to excessive re-rendering.
1.9 KiB
1.9 KiB
Updated the useUser hook to avoid unwrapping the query object directly, which leads to excessive re-rendering.