refetch availability slots in a 3 seconds interval
This commit is contained in:
parent
ae73393271
commit
0d39452baf
|
@ -74,6 +74,7 @@ const useSlots = ({
|
|||
},
|
||||
{
|
||||
enabled: !!startTime && !!endTime,
|
||||
refetchInterval: 3000,
|
||||
}
|
||||
);
|
||||
const [cachedSlots, setCachedSlots] = useState<NonNullable<typeof data>["slots"]>({});
|
||||
|
|
Loading…
Reference in New Issue
Block a user