Skip to content

Commit

Permalink
Upgrade @types/react package and @types/react-dom
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmurphy committed Apr 16, 2024
1 parent b753c90 commit b976df2
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 21 deletions.
30 changes: 14 additions & 16 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,9 @@
"@types/npm-package-arg": "6.1.1",
"@types/prettier": "2.4.4",
"@types/qs": "6.9.7",
"@types/react": "18.0.21",
"@types/react": "18.2.79",
"@types/react-dates": "21.8.3",
"@types/react-dom": "18.0.6",
"@types/react-dom": "18.2.25",
"@types/requestidlecallback": "0.3.4",
"@types/semver": "7.3.8",
"@types/sprintf-js": "1.1.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ const UnconnectedBorderControl = (
onBorderChange,
onSliderChange,
onWidthChange,
placeholder,
__unstablePopoverProps,
previousStyleSelection,
showDropdownHeader,
Expand Down Expand Up @@ -97,7 +96,6 @@ const UnconnectedBorderControl = (
min={ 0 }
onChange={ onWidthChange }
value={ border?.width || '' }
placeholder={ placeholder }
disableUnits={ disableUnits }
__unstableInputWidth={ inputWidth }
size={ size }
Expand Down
6 changes: 5 additions & 1 deletion packages/components/src/view/component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ export const View: WordPressComponent<
'div',
ViewProps & RefAttributes< any >,
true
> = styled.div``;
> = styled.div`` as WordPressComponent<
'div',
ViewProps & RefAttributes< any >,
true
>;

View.selector = '.components-view';
View.displayName = 'View';
Expand Down

0 comments on commit b976df2

Please sign in to comment.