Skip to content

Commit

Permalink
2025 refresh: add React 19 💣
Browse files Browse the repository at this point in the history
  • Loading branch information
jeferson-sb committed Jan 15, 2025
1 parent 662a776 commit e6425d0
Show file tree
Hide file tree
Showing 8 changed files with 293 additions and 61 deletions.
151 changes: 97 additions & 54 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"@teachablemachine/image": "^0.8.5",
"@tensorflow/tfjs": "^1.3.1",
"clsx": "^2.1.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-dropzone": "^14.3.5",
"react-router-dom": "^7.1.1",
"vite-plugin-pwa": "^0.21.1"
Expand All @@ -32,6 +32,7 @@
"@testing-library/user-event": "^14.5.2",
"@vitejs/plugin-react": "^4.3.4",
"globals": "^15.14.0",
"happy-dom": "^16.6.0",
"stylelint": "^13.13.1",
"stylelint-config-standard": "^22.0.0",
"taze": "^18.1.0",
Expand Down
2 changes: 1 addition & 1 deletion src/components/Button/Button.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const Button = forwardRef((props, ref) => {
<NavLink
ref={ref}
to={href}
className={`${buttonStyles} ${styles.NavLink}`}
className={`${buttonStyles} ${styles.link}`}
viewTransition
>
{children}
Expand Down
1 change: 1 addition & 0 deletions src/components/Preview/Preview.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ function Preview({ file }) {
<div className={styles.fileInfo}>
<figure className={styles.fileInfo_preview}>
<img
data-testid="preview-image"
loading="lazy"
className={styles.fileInfo_previewImage}
src={file.preview}
Expand Down
Loading

0 comments on commit e6425d0

Please sign in to comment.