Skip to content

Commit

Permalink
chore(deps): bump Chakra UI to V2
Browse files Browse the repository at this point in the history
> Version 2 of Chakra UI is only compatible with React 18. If you are still needing to use React 17 or earlier, please use version 1 of Chakra UI.

see also:

- https://chakra-ui.com/getting-started
- redwoodjs#4992 (comment)
- redwoodjs#5614
  • Loading branch information
virtuoushub committed Feb 16, 2023
1 parent 1540507 commit 9bd78ce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/cli/src/commands/setup/ui/libraries/chakra-ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ export async function handler({ force, install }) {
const rwPaths = getPaths()

const packages = [
'@chakra-ui/react@^1',
'@emotion/react@^11',
'@emotion/styled@^11',
'framer-motion@^6',
'@chakra-ui/react',
'@emotion/react',
'@emotion/styled',
'framer-motion',
]

const tasks = new Listr(
Expand Down

0 comments on commit 9bd78ce

Please sign in to comment.