[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT]: use RSCs in @dub/ui Fixes #572

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
ready for merge with main mar 7 2024
  • Loading branch information
versecafe committed Mar 8, 2024
commit 7ce453da5e297f4fc9f8688ccc4c8a32f6399090
2 changes: 1 addition & 1 deletion packages/ui/src/accordion.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"use client"
"use client";

import { cn } from "@dub/utils";
import * as AccordionPrimitive from "@radix-ui/react-accordion";
Expand Down
2 changes: 2 additions & 0 deletions packages/ui/src/blur-image.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"use client";

import { cn } from "@dub/utils";
import Image, { ImageProps } from "next/image";
import { useEffect, useState } from "react";
Expand Down
2 changes: 2 additions & 0 deletions packages/ui/src/hooks/use-optimistic-update.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"use client";

import { fetcher } from "@dub/utils";
import { toast } from "sonner";
import useSWR from "swr";
Expand Down
1 change: 1 addition & 0 deletions packages/ui/src/input-select.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"use client";

import { Command, useCommandState } from "cmdk";
import { Check, ChevronDown, Search, X } from "lucide-react";
import {
Expand Down
2 changes: 2 additions & 0 deletions packages/ui/src/label.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"use client";

import { cn } from "@dub/utils";
import * as LabelPrimitive from "@radix-ui/react-label";
import { cva, type VariantProps } from "class-variance-authority";
Expand Down
2 changes: 2 additions & 0 deletions packages/ui/src/tab-select.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"use client";

import { cn } from "@dub/utils";
import { motion } from "framer-motion";

Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.