Files
shadcn-ui/apps/www
t.yang a6e2d3672f fix(sidebar): update type SidebarContext -> SidebarContextProps (#6926)
Hey, I noticed that the original code triggers the `ts/no-redeclare` ESLint error due to the naming conflict between the `SidebarContext` interface and the `SidebarContext` component.

![image](https://github.com/user-attachments/assets/33e6a8de-02bd-43a0-8279-beac8b051602)

I think `ts/no-redeclare` is a pretty common ESLint rule, I renamed the interface to `SidebarContextProps` to avoid the conflict. This naming style is consistent with the `carousel` component: (0f6efb9769/apps/v4/registry/new-york-v4/ui/carousel.tsx (L24)).

Hope this makes sense!
2025-03-14 12:53:22 +00:00
..
2024-12-17 23:14:59 +04:00
2025-03-04 16:51:58 +04:00
2023-12-22 23:36:59 +04:00
2025-03-04 16:51:58 +04:00
2025-03-04 16:51:58 +04:00
2025-02-20 19:32:56 +04:00
2025-03-04 16:51:58 +04:00
2023-01-24 19:51:29 +04:00
2023-12-22 23:36:59 +04:00
2024-10-16 12:54:21 +04:00
2024-11-07 21:05:44 +04:00
2023-03-08 13:08:46 +04:00