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, { useRef, useState } from "react";
import { observer } from "mobx-react-lite";
import Link from "next/link";

View file

@ -1,3 +1,5 @@
"use client";
import React, { useState } from "react";
import { observer } from "mobx-react-lite";
import { useParams } from "next/navigation";
@ -112,8 +114,8 @@ export const ConfirmProjectMemberRemove: React.FC<Props> = observer((props) => {
? "Leaving..."
: "Leave"
: isDeleteLoading
? "Removing..."
: "Remove"}
? "Removing..."
: "Remove"}
</Button>
</div>
</Dialog.Panel>

View file

@ -1,3 +1,5 @@
"use client";
import { useState, FC, ChangeEvent } 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 { useParams, useRouter } from "next/navigation";
import { Controller, useForm } from "react-hook-form";

View file

@ -1,3 +1,5 @@
"use client";
import React from "react";
import Image from "next/image";

View file

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

View file

@ -1,3 +1,5 @@
"use client";
import { FC, useEffect, useState } from "react";
import { Controller, useForm } from "react-hook-form";
// icons

View file

@ -1,3 +1,5 @@
"use client";
import React from "react";
import Image from "next/image";
import { useParams } from "next/navigation";

View file

@ -1,3 +1,5 @@
"use client";
import { useState, Fragment } from "react";
import { useRouter } from "next/navigation";
import { Transition, Dialog } from "@headlessui/react";

View file

@ -1,3 +1,5 @@
"use client";
import { FC, Fragment } from "react";
import { observer } from "mobx-react";
import { useParams, useRouter } from "next/navigation";

View file

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

View file

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

View file

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

View file

@ -1,3 +1,5 @@
"use client";
import { useEffect, useState } from "react";
import { observer } from "mobx-react";
import { useParams } from "next/navigation";

View file

@ -1,3 +1,5 @@
"use client";
import React, { useEffect } from "react";
import { observer } from "mobx-react";
import { useParams } from "next/navigation";

View file

@ -1,3 +1,5 @@
"use client";
import { useState, FC, useRef, useEffect } from "react";
import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine";
import { autoScrollForElements } from "@atlaskit/pragmatic-drag-and-drop-auto-scroll/element";