Skip to content

Commit

Permalink
feat: Fixed some typing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
yusuf-musleh committed Mar 3, 2024
1 parent 440969a commit 07f2674
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/content-tags-drawer/ContentTagsCollapsible.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ const ContentTagsCollapsible = ({
}) => {
const intl = useIntl();
const { id: taxonomyId, name, canTagObject } = taxonomyAndTagsData;
const selectRef = React.useRef(null);
const selectRef = React.useRef(/** @type {HTMLSelectElement | null} */(null));

const {
tagChangeHandler,
Expand Down Expand Up @@ -335,7 +335,7 @@ const ContentTagsCollapsible = ({

{canTagObject && (
<Select
ref={selectRef}
ref={/** @type {React.RefObject} */(selectRef)}
isMulti
isLoading={updateTags.isLoading}
isDisabled={updateTags.isLoading}
Expand Down

0 comments on commit 07f2674

Please sign in to comment.