themesberg / flowbite

Open-source UI component library and front-end development framework based on Tailwind CSS
https://flowbite.com
MIT License
7.29k stars 708 forks source link

Tabs components instance added twice #878

Closed cavenk closed 1 month ago

cavenk commented 1 month ago

Describe the bug In the source code, the method addInstance is called twice in the Tabs class constructor (line 42, 43 in src/components/tabs/index.ts). This creates a warning message in the browser when i try to create an instance and put the override options to true.

Screenshots

Screenshot 2024-05-09 at 4 12 19 PM
zoltanszogyenyi commented 1 month ago

Hey @cavenk,

Thanks for reporting! Fixed with this commit: https://github.com/themesberg/flowbite/commit/01e44a84ee0fc394b63978544a8fd43038c9fe3f

Will be added to the next version.

Cheers, Zoltan