Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am szandrzej on github.
  • I am andrzejszmajnta (https://keybase.io/andrzejszmajnta) on keybase.
  • I have a public key whose fingerprint is AB27 2254 7FD6 DA2F 1677 FA2D 3BBB 7E14 10F7 2D20

To claim this, I am signing this object:

@szandrzej
szandrzej / gist:36494ef4b9fe384fe5abfdbae9fad050
Created December 19, 2023 13:45
`useTranslations` is not callable within an async component.
export default function Home() {
const t = useTranslations('Home');
return (
<div className={clsx('hero min-h-screen', styles.background)}>
<div className="flex flex-col items-center">
<OxlaLogo className="mb-8 w-[400px]" />
<a
className="rounded-2xl bg-oxla-blue px-16 py-3 text-center text-lg transition-colors hover:text-gray-200"
href={routes.dashboard}