summaryrefslogtreecommitdiff
path: root/components/Client.tsx
blob: 17f3216d03365ce99d70bd4d293740c65db739d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
"use client";
import toast, { Toaster } from "react-hot-toast";

import "../shim";
export default function ClientComponent({ children }: any) {
  console.log("global", global.Buffer);
  console.log("global crypto in client", global.crypto);
  console.log((global as any).lmao);
  // console.log((global as any).crypto, "global crypto in client");
  // console.log(crypto, "crypto in client");
  // console.log(crypto.randomUUID());
  // console.log(crypto.getRandomValues(new Uint8Array(16)));
  // console.log((global as any).Buffer);
  return (
    <>
      {children}

      <Toaster position={"top-center"} />
    </>
  );
}