Skip to content

Commit 1c7fa61

Browse files
authored
Merge pull request #387 from Chia-Network/fix-breaking-flowbite-update
chore: address flowbite-react 0.8.0+ breaking changes
2 parents f3f8338 + abe8ee4 commit 1c7fa61

File tree

3 files changed

+38
-36
lines changed

3 files changed

+38
-36
lines changed

package-lock.json

Lines changed: 34 additions & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"@zip.js/zip.js": "^2.7.53",
3333
"dayjs": "^1.11.13",
3434
"flowbite": "^2.5.2",
35-
"flowbite-react": "0.7.8",
35+
"flowbite-react": "^0.10.2",
3636
"formik": "^2.4.6",
3737
"lodash": "^4.17.21",
3838
"react": "^18.3.1",

tailwind.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
import * as flowbite from 'flowbite-react/tailwind';
2+
13
/** @type {import('tailwindcss').Config} */
24
export default {
3-
content: ['./src/**/*.{js,jsx,ts,tsx}', 'node_modules/flowbite-react/lib/esm/**/*.js'],
5+
content: ['./src/**/*.{js,jsx,ts,tsx}', flowbite.content()],
46
theme: {
57
extend: {
68
colors: {

0 commit comments

Comments
 (0)