Files
supabase/apps/docs/components/JwtGenerator/index.tsx
T
O-AdityaandCharis Lam 1775dd17de Fix #26802: Implement client-side only JWT secret generation (#26831)
* Fix #26802: Implement client-side only JWT secret generation

* generate random string with getRandomValues

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2024-06-03 14:56:55 +00:00

15 lines
319 B
TypeScript

import dynamic from 'next/dynamic'
import { Suspense } from 'react'
const DynamicJwtGenerator = dynamic(() => import('./JwtGenerator'), { ssr: false })
const JwtGenerator = () => {
return (
<Suspense fallback={<div>Loading...</div>}>
<DynamicJwtGenerator />
</Suspense>
)
}
export { JwtGenerator }