useEffect aus einausgaenge.tsx wurde entfernt und durch den useLoadScript-Hook ersetzt.

This commit is contained in:
Ismail Ali
2025-02-18 10:29:28 +01:00
parent d48579fafa
commit 3b482935d5
3 changed files with 8 additions and 51 deletions

View File

@@ -2,7 +2,11 @@
import { useEffect, useState } from "react";
export function useLoadScript() {
const [mockData, setMockData] = useState();
const [mockData, setMockData] = useState({
win_de: Array(32).fill(0),
win_counter: Array(32).fill(0),
win_flutter: Array(32).fill(0),
});
const [isLoading, setIsLoading] = useState(true);
useEffect(() => {