Skip to content
This repository has been archived by the owner on Apr 7, 2024. It is now read-only.

Commit

Permalink
Fix broken app build issue by setting 'use client' on Accordion
Browse files Browse the repository at this point in the history
  • Loading branch information
NicHaley committed Jan 25, 2024
1 parent dba0c95 commit fb211cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions apps/app/src/app/signin/form.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
"use client";
import { useState } from "react";
import { signIn } from "next-auth/react";
import { Button, Input } from "@floe/ui";
import { Button, Input, Spinner } from "@floe/ui";
import Image from "next/image";
import type { FormEvent } from "react";
import { Spinner } from "@floe/ui";
import { useSearchParams } from "next/navigation";
import logo from "public/logo.png";

Expand Down
2 changes: 2 additions & 0 deletions packages/ui/accordion.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"use client";

import { forwardRef } from "react";
import classNames from "classnames";
import * as AccordionPrimitive from "@radix-ui/react-accordion";
Expand Down

0 comments on commit fb211cc

Please sign in to comment.