add update package & weather details

This commit is contained in:
Romulus21
2024-04-22 23:50:59 +02:00
parent 2f2077497d
commit 49f0abd08c
9 changed files with 1038 additions and 993 deletions

View File

@@ -4,7 +4,7 @@ const useDimension = () => {
const RESET_TIMEOUT = 300
let movement_timer: number|undefined = undefined
const targetRef = useRef<HTMLDivElement|undefined>()
const targetRef = useRef<HTMLDivElement>(null)
const [dimensions, setDimensions] = useState({ width:0, height: 0 })
useEffect(() => {