fix: issues related to Auth test suite

This commit is contained in:
Alessio Gravili
2024-03-18 15:30:55 -04:00
parent 0a8f400a59
commit 26df916421
12 changed files with 55 additions and 29 deletions

View File

@@ -1,6 +1,6 @@
'use client'
import type { User } from 'payload/auth'
import type { ClientUser } from 'payload/auth'
import type { SanitizedCollectionConfig } from 'payload/types'
import { useAuth, useConfig } from '@payloadcms/ui/providers'
@@ -8,7 +8,7 @@ import * as React from 'react'
type options = {
uploads: boolean
user: User
user: ClientUser
}
type FilteredCollectionsT = (