mirror of
https://github.com/balzack/databag.git
synced 2025-02-14 20:49:16 +00:00
ignore warning, until cludge can be removed
This commit is contained in:
parent
84a8244e2b
commit
0f32f2544d
@ -12,9 +12,10 @@ import { useState, useEffect } from 'react';
|
|||||||
export function TopicItem({ host, topic }) {
|
export function TopicItem({ host, topic }) {
|
||||||
|
|
||||||
const { state, actions } = useTopicItem(topic);
|
const { state, actions } = useTopicItem(topic);
|
||||||
const [render, setRender] = useState(false);
|
|
||||||
|
|
||||||
// not sure why this helps, on mobile render updates not occuring without
|
// not sure why this helps, on mobile render updates not occuring without
|
||||||
|
// eslint-disable-next-line
|
||||||
|
const [render, setRender] = useState(false);
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (state.ready && state.confirmed) {
|
if (state.ready && state.confirmed) {
|
||||||
setRender(true);
|
setRender(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user