Skip to content

Commit

Permalink
FEATURES may not be set
Browse files Browse the repository at this point in the history
  • Loading branch information
tmeasday committed Sep 14, 2021
1 parent a308946 commit 5d4e5d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/docs/src/blocks/Story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ const Story: FunctionComponent<StoryProps> = (props) => {
return null;
}

if (global?.FEATURES.modernInlineRender) {
if (global?.FEATURES?.modernInlineRender) {
// We do this so React doesn't complain when we replace the span in a secondary render
const htmlContents = `<span data-is-loading-indicator="true">loading story...</span>`;

Expand Down

0 comments on commit 5d4e5d9

Please sign in to comment.