babpulss

Results 3 comments of babpulss

and after all, I used library code as below ```tsx }) => { const today = useRef(dayjs().format('YYYY-MM-DD')); const [selectedDate, setSelectedDate] = useState(today.current); const [testID, setTestID] = useState(0); const onMonthChange =...

and close pool in next.config.js process .once('SIGTERM', closePool) .once('SIGINT', closePool); async function closePool() { try { await globalThis?.pool?.close() process.exit(0); }

my code in editor: map.addInteraction(INTERACTION_ID.MAP_ZOOM, { type: "wheel", target: { layerId: LAYER_ID.STATIONS_LAYER_ID }, handler: (e) => { e.preventDefault(); console.log(e); requestIdleCallback(() => { map.getCanvas().style.cursor = "crosshair"; }); }, });