"use client";

import { useEffect } from "react";
import { registerCopyButton } from "@rehype-pretty/transformers";

export function CodeCopyInit() {
  useEffect(() => {
    registerCopyButton();
  }, []);

  return null;
}
