Skip to content

Update renderRules.js#229

Closed
gezquinndesign wants to merge 1 commit intoiamacup:masterfrom
gezquinndesign:patch-1
Closed

Update renderRules.js#229
gezquinndesign wants to merge 1 commit intoiamacup:masterfrom
gezquinndesign:patch-1

Conversation

@gezquinndesign
Copy link
Copy Markdown

Fixes warning in React 18.3.x:

Warning: A props object containing a "key" prop is being spread into JSX:
  let props = {key: someKey, indicator: ..., style: ..., source: ..., accessible: ..., accessibilityLabel: ...};
  <FitImage {...props} />
React keys must be passed directly to JSX without using spread:
  let props = {indicator: ..., style: ..., source: ..., accessible: ..., accessibilityLabel: ...};
  <FitImage key={someKey} {...props} />

Fixes warning in React 18.3.x:
- Warning: A props object containing a "key" prop is being spread into JSX:
- React keys must be passed directly to JSX without using spread:
@MahmoudMabrok
Copy link
Copy Markdown

feel free to open on https://github.com/MahmoudMabrok/mo3ta-markdown

@iamacup iamacup closed this Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants