This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default function SessionsList() { | |
const sessionsQuery = useSessionsListQuery(); | |
return ( | |
<PageLayout title="My sessions"> | |
{matchQueryStatus(sessionsQuery, { | |
Loading: ( | |
<> | |
<Skeleton height={70} mt={6} /> | |
<Skeleton height={70} mt={6} /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Select Component --------------------------------------------------------------------------------- | |
"use client"; | |
import clsx from "clsx"; | |
import { ChevronDownIcon, X } from "lucide-react"; | |
import Select, { | |
ClearIndicatorProps, | |
DropdownIndicatorProps, | |
MultiValueRemoveProps, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
add, | |
eachMonthOfInterval, | |
endOfYear, | |
format, | |
isEqual, | |
isFuture, | |
parse, | |
startOfMonth, | |
startOfToday, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use client" | |
import * as React from "react" | |
import { buttonVariants } from "@/components/ui/button" | |
import { ScrollArea } from "@/components/ui/scroll-area" | |
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/select" | |
import { cn } from "@/lib/utils" | |
import { ChevronLeft, ChevronRight } from "lucide-react" | |
import { DayPicker, DropdownProps } from "react-day-picker" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as React from 'react'; | |
import { DateTime } from 'luxon'; | |
import { Calendar as CalendarIcon } from 'lucide-react'; | |
import { Button } from '@/components/ui/Button'; | |
import { Calendar } from '@/components/ui/Calendar'; | |
import { Popover, PopoverContent, PopoverTrigger } from '@/components/ui/Popover'; | |
import { cn } from '@/lib/utils'; | |
import { SelectSingleEventHandler } from 'react-day-picker'; | |
import { Label } from '@/components/ui/Label'; |