Skip to content

Conversation

@interim17
Copy link
Contributor

@interim17 interim17 commented Dec 16, 2025

Problem

Closes #381

Solution

Got gatsby-plugin-svgr-svgo configured to drop-in replace gatsby-plugin-react-svg and remove defaultProps warnings.

This is a bit of a hack, just typecasting and deleting the defaultProps that seem to be added by gatsby-plugin-react-svg

Likely the better long-term fix is to move away from that plugin:
jacobmischka/gatsby-plugin-react-svg#59

My first few attempts to switch plugins were met with build issues. If we want a quick solution, I think this will remove the browser warnings, and we can look at switching plugins going forward?

@interim17 interim17 requested a review from meganrm December 16, 2025 00:15
@interim17
Copy link
Contributor Author

@meganrm if you want to prioritize speed over beauty we can take this approach as a stop gap?

@netlify
Copy link

netlify bot commented Jan 22, 2026

Deploy Preview for cell-catalog ready!

Name Link
🔨 Latest commit 7ea57b9
🔍 Latest deploy log https://app.netlify.com/projects/cell-catalog/deploys/697281dbea9682000805be8a
😎 Deploy Preview https://deploy-preview-386--cell-catalog.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@interim17 interim17 marked this pull request as ready for review January 22, 2026 20:14
@interim17 interim17 requested a review from rugeli January 22, 2026 20:15
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.

Get rid of defaultProps warnings

2 participants