Skip to content

Commit

Permalink
Lene saving my butt
Browse files Browse the repository at this point in the history
Co-authored-by: Lene Gadewoll <[email protected]>
  • Loading branch information
cee-chen and mgadewoll authored Mar 27, 2024
1 parent c85cf00 commit 1a75efc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src-docs/src/views/app_context.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const AppContext = ({ children }) => {
};

const isLocalDev = window.location.host.includes('803');
setEuiDevProviderWarning(isLocalDev ? 'error' : 'warning'); // Note: this can't be in a useEffect, otherwise it fires too late for style memoization warnings to error on page reload
setEuiDevProviderWarning(isLocalDev ? 'error' : 'warn'); // Note: this can't be in a useEffect, otherwise it fires too late for style memoization warnings to error on page reload

return (
<EuiProvider
Expand Down

0 comments on commit 1a75efc

Please sign in to comment.