mirror of
https://github.com/balzack/databag.git
synced 2025-02-14 12:39:17 +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 }) {
|
||||
|
||||
const { state, actions } = useTopicItem(topic);
|
||||
const [render, setRender] = useState(false);
|
||||
|
||||
// not sure why this helps, on mobile render updates not occuring without
|
||||
// eslint-disable-next-line
|
||||
const [render, setRender] = useState(false);
|
||||
useEffect(() => {
|
||||
if (state.ready && state.confirmed) {
|
||||
setRender(true);
|
||||
|
Loading…
Reference in New Issue
Block a user