Select the types of activity you want to include in your feed.
One Calendar is a privacy-first calendar web app built with Next.js. It has modern security features, including e2ee, password-protected sharing, and self-destructing share links ๐
calendar.xyehr.cn
···11"use client";
2233import { useLocalStorage } from "@/hooks/useLocalStorage";
44-import { createContext, useContext, type Dispatch, type SetStateAction } from "react";
44+import {
55+ createContext,
66+ useContext,
77+ type Dispatch,
88+ type SetStateAction,
99+} from "react";
510import type React from "react";
611712export interface CalendarCategory {
+4-4
components/providers/theme-provider.tsx
···11-'use client';
11+"use client";
2233-import { ThemeProvider as NextThemesProvider } from 'next-themes';
44-import * as React from 'react';
33+import { ThemeProvider as NextThemesProvider } from "next-themes";
44+import * as React from "react";
5566export function ThemeProvider({
77 children,
88- themes = ['light', 'dark', 'green', 'orange', 'azalea'],
88+ themes = ["light", "dark", "green", "orange", "azalea"],
99 ...props
1010}: React.ComponentProps<typeof NextThemesProvider> & {
1111 themes?: string[];