mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-21 12:49:06 +00:00
self-pr review treeshake
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
import * as R from "remeda";
|
import { partition } from "remeda";
|
||||||
import {
|
import {
|
||||||
Box,
|
Box,
|
||||||
VStack,
|
VStack,
|
||||||
@@ -56,7 +56,7 @@ export default function MeetingSelection({
|
|||||||
const allMeetings = activeMeetingsQuery.data || [];
|
const allMeetings = activeMeetingsQuery.data || [];
|
||||||
|
|
||||||
const now = new Date();
|
const now = new Date();
|
||||||
const [currentMeetings, upcomingMeetings] = R.partition(
|
const [currentMeetings, upcomingMeetings] = partition(
|
||||||
allMeetings,
|
allMeetings,
|
||||||
(meeting) => {
|
(meeting) => {
|
||||||
const startTime = new Date(meeting.start_date);
|
const startTime = new Date(meeting.start_date);
|
||||||
|
|||||||
Reference in New Issue
Block a user