commit 368a8c90b2a575becc39bf7d53bbd8cf1e0b6a30 parent 24d30713eebcdf96d8b20284bcbb3c318af357a0 Author: Andreas Gruhler <andreas.gruhler@adfinis.com> Date: Fri, 31 Mar 2023 23:43:50 +0200 fix(rate): heatList Diffstat:
M | src/Rate.js | | | 3 | +-- |
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/Rate.js b/src/Rate.js @@ -31,8 +31,7 @@ function RatingForm({session}) { useEffect(() => { (async () => { - let heatList = {data: []} - heatList = await supabase.from('heats').select() + const heatList = await supabase.from('heats').select() setHeats(heatList.data) let startlist = {data: []}