mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
fix CI
This commit is contained in:
parent
a51814a1f5
commit
67cc291def
@ -32,7 +32,8 @@ const withThemeProvider = (Story, context) => {
|
|||||||
const theme = context.globals.theme
|
const theme = context.globals.theme
|
||||||
|
|
||||||
var storyBody = document.getElementById('story-body')
|
var storyBody = document.getElementById('story-body')
|
||||||
theme === 'dark'
|
|
||||||
|
storyBody && theme === 'dark'
|
||||||
? storyBody.classList.add('dark')
|
? storyBody.classList.add('dark')
|
||||||
: storyBody.classList.remove('dark')
|
: storyBody.classList.remove('dark')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user