Skip to content

Commit

Permalink
chore: adds use client directive atop custom react components (payloa…
Browse files Browse the repository at this point in the history
  • Loading branch information
JarrodMFlesch authored May 15, 2023
1 parent d94e989 commit 0306c9c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use client'

import React, { useEffect, useState } from 'react'
import { Select, useForm } from 'payload/components/forms'
import { TextField } from 'payload/dist/fields/config/types'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use client'

import React, { useEffect, useState } from 'react';
import { Text, useWatchForm } from 'payload/components/forms';
import { Props as TextFieldType } from 'payload/dist/admin/components/forms/field-types/Text/types';
Expand Down

0 comments on commit 0306c9c

Please sign in to comment.