Skip to content

Commit 25ef1bc

Browse files
authored
feat: upd peer (react 19) (#1126)
* feat: upd peer * feat: upd fetchPriority
1 parent e6cc9d4 commit 25ef1bc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@
118118
"peerDependencies": {
119119
"@diplodoc/transform": "^4.10.4",
120120
"@gravity-ui/uikit": "^6.0.0",
121-
"react": "^16.0.0 || ^17.0.0 || ^18.0.0"
121+
"react": "^16.14.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
122122
},
123123
"devDependencies": {
124124
"@babel/core": "^7.22.8",

src/components/ImageBase/ImageBase.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export const ImageBase = ({fetchPriority, alt, ...props}: ImageBaseProps) => {
2121
// It is still not supported. However it's nice to have ability to manage
2222
// this prop is good to have to improve Core Web Vitals.
2323
// So, here is a workaround to assign the attr.
24-
<img {...{fetchpriority: fetchPriority}} alt={alt} {...props} />
24+
<img {...{fetchPriority: fetchPriority}} alt={alt} {...props} />
2525
);
2626
};
2727

0 commit comments

Comments
 (0)