Skip to content

Commit

Permalink
remove use client from heading
Browse files Browse the repository at this point in the history
  • Loading branch information
irsyadadl committed Oct 17, 2024
1 parent 9d5c146 commit c23ee03
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion components/ui/card.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import * as React from 'react'

import { cn } from '@/utils/classes'
import { tv } from 'tailwind-variants'

import { Heading } from './heading'
import { cn } from './primitive'

const card = tv({
slots: {
Expand Down
2 changes: 1 addition & 1 deletion components/ui/heading.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
'use client'
import * as React from 'react'

import { tv } from 'tailwind-variants'

Expand Down
2 changes: 1 addition & 1 deletion components/ui/search-field.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import {
import { tv } from 'tailwind-variants'

import { Button } from './button'
import { Loader } from './loader'
import { Description, FieldError, FieldGroup, Input, Label } from './field'
import { Loader } from './loader'
import { ctr } from './primitive'

const searchFieldStyles = tv({
Expand Down
2 changes: 1 addition & 1 deletion components/ui/text-field.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import {
type TextFieldProps as TextFieldPrimitiveProps
} from 'react-aria-components'

import { Loader } from './loader'
import type { FieldProps } from './field'
import { Description, FieldError, FieldGroup, fieldGroupPrefixStyles, Input, Label } from './field'
import { Loader } from './loader'
import { ctr } from './primitive'

type InputType = Exclude<TextInputDOMProps['type'], 'password'>
Expand Down

0 comments on commit c23ee03

Please sign in to comment.