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 { useState } from "react";
import { Controller, useForm } from "react-hook-form";
// types

View file

@ -1,3 +1,5 @@
"use client";
import React, { useState } from "react";
import useSWR from "swr";;
// types

View file

@ -1,3 +1,5 @@
"use client";
import React, { useEffect, useRef, useState } from "react";
import Image from "next/image";
import { useTheme } from "next-themes";

View file

@ -1,3 +1,5 @@
"use client";
import React, { useMemo, useState } from "react";
import { observer } from "mobx-react";
import Image from "next/image";

View file

@ -1,3 +1,5 @@
"use client";
import { FC, useState } from "react";
import { observer } from "mobx-react";
import { ChevronDown } from "lucide-react";

View file

@ -1,3 +1,5 @@
"use client";
import React, { useState } from "react";
import { useRouter } from "next/navigation";
import { useTheme } from "next-themes";

View file

@ -1,3 +1,5 @@
"use client";
import { useState } from "react";
import { observer } from "mobx-react";
import Image, { StaticImageData } from "next/image";

View file

@ -1,3 +1,5 @@
"use client";
// icons
import { FileText } from "lucide-react";
import { ContrastIcon, DiceIcon, LayersIcon, PhotoFilterIcon } from "@plane/ui";