import { useCustomContent } from 'hooks/custom-content/useCustomContent' import { BASE_PATH } from 'lib/constants' import { useTheme } from 'next-themes' import Head from 'next/head' import Image from 'next/legacy/image' import type { PropsWithChildren } from 'react' import { Separator } from 'ui' import { withAuth } from '../../hooks/misc/withAuth' export interface RedeemCreditsLayoutProps {} const RedeemCreditsLayout = ({ children }: PropsWithChildren) => { const { resolvedTheme } = useTheme() const { appTitle } = useCustomContent(['app:title']) return ( <> Redeem Credits | {appTitle || 'Supabase'}
Supabase Supabase Logo
{children}
) } export default withAuth(RedeemCreditsLayout)