Skip to content

Commit

Permalink
fix: react warning
Browse files Browse the repository at this point in the history
* Warning: React does not recognize the `labelPosition` prop on a DOM
  element. If you intentionally want it to appear in the DOM as a custom
  attribute, spell it as lowercase `labelposition` instead. If you
  accidentally passed it from a parent component, remove it from the DOM
  element.
  • Loading branch information
utnapischtim committed Oct 23, 2024
1 parent 810befd commit db238a6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,14 +125,14 @@ export const MobileUploadsItem = ({
<Dropdown.Menu>
<Dropdown.Item
onClick={() => editRecord()}
labelPosition="left"
labelposition="left"
icon="edit"
content={i18next.t("Edit")}
/>

{isPublished && (
<Dropdown.Item
labelPosition="left"
labelposition="left"
href={viewLink}
icon="eye"
content={i18next.t("View")}
Expand Down

0 comments on commit db238a6

Please sign in to comment.