Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Feature/update react and storybook #1135

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Coldknife2
Copy link

Migrate to latest react version and change eslint configs accordingly
Tests corrected, all green

Update storybook to 7 => broken atm, WIP

NavBar.spec.tsx => deleted 2 tests I judge non relevant, explanation provided in comments on file
remove storybook-readme (https://storybook.js.org/addons/storybook-readme) => not updated for 3 years, not compatible with storybook 7+

Current state of PR :
Tests are ok
Builds correctly
Storybook starts, but content is broken, due to the removal of storybook-readme

Maybye this PR => #1022
could help migrate to .mdx files and fix the problem

@@ -33,7 +33,7 @@ const Paging = ({
);

const handleChangeItems = useCallback(
(e) =>
(e: any) =>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

celui ci j'avais réussi à le typer (e: {value: number})

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oui je me suis pas embêté pour ces erreurs là, il doit y avoir moyen de mieux les typer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants