Timer and page load

Resolved

hello,

I have a timer that works fine with page load

the issue is when I move it inside a container that has a query, the timer stops working!

I need it to be inside the query to set the countdown value!

is there another way to approach this?

( timer its value comes from the query and starts on load ) ?

I forgot to mention I'm using Supabase back end. (I had to make sure I linked all foreign keys )

solved it by :

  1. I added a wait ( delay of 3000 ms ) on the page load action before starting the timer.

2. wrap the timer in a container

now it works time ( take me 100x test ) xD

1
1 reply