shuffle-topic-fix-3
This commit is contained in:
parent
3f8d495076
commit
56f46c18dd
|
@ -69,7 +69,10 @@ export const Header = (props: Props) => {
|
||||||
let windowScrollTop = 0
|
let windowScrollTop = 0
|
||||||
|
|
||||||
createEffect(() => {
|
createEffect(() => {
|
||||||
if (topics()) setRandomTopics(getRandomTopicsFromArray(topics()))
|
if (topics()?.length) {
|
||||||
|
console.debug(topics())
|
||||||
|
setRandomTopics(getRandomTopicsFromArray(topics()))
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
createEffect(() => {
|
createEffect(() => {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user