chore: web app use client directive (#4747)

* chore: use client directive

* chore: use client directive
This commit is contained in:
Anmol Singh Bhatia 2024-06-10 15:13:10 +05:30 committed by GitHub
parent c880e8b48c
commit d3556f457b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
313 changed files with 649 additions and 45 deletions

View file

@ -1,3 +1,5 @@
"use client";
import React, { useEffect, useState, useCallback } from "react";
// editor
import { EditorMenuItemNames, EditorRefApi } from "@plane/lite-text-editor";

View file

@ -1,3 +1,5 @@
"use client";
// ui
import { StateGroupIcon } from "@plane/ui";

View file

@ -1,3 +1,5 @@
"use client";
import React, { useRef } from "react";
import { observer } from "mobx-react-lite";
import { useForm, Controller } from "react-hook-form";

View file

@ -1,3 +1,5 @@
"use client";
import React from "react";
import { observer } from "mobx-react-lite";
import { usePathname, useRouter, useSearchParams } from "next/navigation";

View file

@ -1,3 +1,5 @@
"use client";
import { observer } from "mobx-react-lite";
// components
import { Loader } from "@plane/ui";

View file

@ -1,3 +1,5 @@
"use client";
import React from "react";
import { observer } from "mobx-react-lite";
import { Link2, MoveRight } from "lucide-react";

View file

@ -1,3 +1,5 @@
"use client";
import React from "react";
import { observer } from "mobx-react-lite";
import Link from "next/link";

View file

@ -1,3 +1,5 @@
"use client";
import { observer } from "mobx-react-lite";
import { usePathname, useRouter, useSearchParams } from "next/navigation";
// lib

View file

@ -1,3 +1,5 @@
"use client";
import { CalendarCheck2, Signal } from "lucide-react";
// ui
import { DoubleCircleIcon, StateGroupIcon, TOAST_TYPE, setToast } from "@plane/ui";

View file

@ -1,3 +1,5 @@
"use client";
import { observer } from "mobx-react-lite";
// components
import { Loader } from "@plane/ui";