Comments (3)
@NikkiJonesR Did you ever find a fix for this?
from gatsby-storyblok-image.
Any news on this issue? I have also this warning
Warning: Failed prop type: The prop fluid
or fixed
is marked as required in Image
, but their values are both undefined
.
from gatsby-storyblok-image.
@Qurus There's a really annoying flaw in Storyblok in that it doesn't return null values to otherwise empty fields, it returns undefined. The best way to handle this is to use something like PropTypes to handle the undefined value, and return it as null, that way you can conditionally return the Img
tag if the field isn't empty.
from gatsby-storyblok-image.
Related Issues (11)
- Blur Up Effect not working HOT 5
- Filter Format seems incorrect? HOT 2
- Getting null back from both functions HOT 1
- Add support for Cloudinary assets HOT 2
- .svg images not working
- allows uppercase extensions for assets
- Add support for the new gatsby-plugin-image HOT 10
- Any news on this issue? I have also this warning
- The prop `fluid` or `fixed` is marked as required in `Image`, but their values are both `undefined`. HOT 3
- Test Task
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gatsby-storyblok-image.