Files
shadcn-ui/apps/www/public
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-10-15 21:28:38 +04:00
2025-03-04 16:51:58 +04:00
2025-02-05 10:17:03 +04:00
2024-11-03 14:35:04 +04:00
2024-11-03 14:35:04 +04:00
2024-11-03 14:35:04 +04:00
2023-06-22 22:44:52 +04:00
2024-03-22 21:39:33 +04:00
2024-03-22 21:39:33 +04:00
2024-03-22 21:39:33 +04:00