Fix Singel Value widget not rendering on tab switch (#819)
Signed-off-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com>
This commit is contained in:
@@ -64,7 +64,7 @@ const SingleValueWidget = ({
|
|||||||
classes,
|
classes,
|
||||||
apiPrefix,
|
apiPrefix,
|
||||||
}: ISingleValueWidget) => {
|
}: ISingleValueWidget) => {
|
||||||
const [loading, setLoading] = useState<boolean>(false);
|
const [loading, setLoading] = useState<boolean>(true);
|
||||||
const [data, setData] = useState<string>("");
|
const [data, setData] = useState<string>("");
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user