Ajay

Results 12 comments of Ajay

You could also use the state data attribute as the conditional. I personally find this a bit cleaner than having useState. ```tsx {children} ```

If that's the only component that's causing it, you can change that part to use either SWR or useEffect like this: SWR ```typescript const supabase = createClientComponentClient() const getUser =...

> I was trying to solve it with the `Accordion` component until I saw this and @jocarrd mentioning `Collapsible`. Nice article. Why not just use the [`Expanding`](https://tanstack.com/table/v8/docs/api/features/expanding) API from tanstack?...

Was able to achieve theme + mode with data-theme attribute using this library, but had to make so many changes that I ended up getting rid of next-themes all together....

No it’s not needed. and starting with Next 13.5.7, you likely won’t need this either: “serverActions: true”

Change this line in "app/auth/callback/route.ts" with the route/url you want to redirect to: ```typescript // URL to redirect to after sign in process completes return NextResponse.redirect(requestUrl.origin) ```

@thatsjonsense Where would you call this hook from? I have my Reorder.Group in the parent, and Reorder.Item as a child under a map. When I put your hook in the...

Basic gallery page implemented. Need to think about button placement within the carousel. Should probably add a share button as well. Input image is default, can be changed easily. Using...

Added ability to delete user accounts from the user dropdown Pending in this PR: - FAQ using [accordion](https://ui.shadcn.com/docs/components/accordion) - Pricing using [moving border](https://ui.aceternity.com/components/moving-border)