Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix website component storybook (#2683)
This PR fixes a few issues with the storybook component rendering: - Removes extra semicolons in JSX components that show up in the HTML - Changes `getEnv()` to return an empty dictionary if no environment values are set as otherwise `<Header/>` would throw `Cannot read properties of undefined (reading 'CURRENT_ANNOUNCEMENT')` since storybook doesn't have access to `window.__env` - Fix props passed to `<Sortable/>` which prevented the text to be properly displayed
- Loading branch information
Showing
5 changed files
with
22 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters