1nwf / Produx-v2

Found unnecessary fragments JS-0424
Anti-pattern
Major
1 occurrence in this check
Fragments should contain more than one child - otherwise, there’s no need for a Fragment at all
21        </Provider>
22    )
23}
24const EmptyLayout = ({ children }: { children: any }) => <>{children}</>25const DefaultLayout = ({ children }: { children: any }) => {
26    const { data, isLoading, error } = useGetUserInfoQuery()
27    return (