mirror of
https://github.com/revoltchat/revite.git
synced 2024-12-26 07:22:10 -05:00
Add under construction warning for the theme shop
This commit is contained in:
parent
414dcd51c0
commit
6d85c9b725
1 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
||||||
import { useEffect, useState } from "preact/hooks"
|
import { useEffect, useState } from "preact/hooks"
|
||||||
import styled from "styled-components"
|
import styled from "styled-components"
|
||||||
|
import Tip from "../../../components/ui/Tip"
|
||||||
import { Theme, generateVariables } from '../../../context/Theme'
|
import { Theme, generateVariables } from '../../../context/Theme'
|
||||||
import { dispatch } from "../../../redux"
|
import { dispatch } from "../../../redux"
|
||||||
|
|
||||||
|
@ -132,7 +133,8 @@ export function ThemeShop() {
|
||||||
})
|
})
|
||||||
}, [themeList])
|
}, [themeList])
|
||||||
|
|
||||||
return (
|
return (<div>
|
||||||
|
<Tip warning>This section is under construction.</Tip>
|
||||||
<ThemeList>
|
<ThemeList>
|
||||||
{themeList?.map(([slug, theme]) => {
|
{themeList?.map(([slug, theme]) => {
|
||||||
return <ThemeInfo key={slug} data-loaded={Reflect.has(themeData, slug)}>
|
return <ThemeInfo key={slug} data-loaded={Reflect.has(themeData, slug)}>
|
||||||
|
@ -156,5 +158,5 @@ export function ThemeShop() {
|
||||||
</ThemeInfo>
|
</ThemeInfo>
|
||||||
})}
|
})}
|
||||||
</ThemeList>
|
</ThemeList>
|
||||||
)
|
</div>)
|
||||||
}
|
}
|
Loading…
Reference in a new issue