react-voice-search
Version:
React voice search component with audio visualization, speech recognition, and cross-browser support for Web Speech API. SSR-compatible with Next.js.
16 lines (12 loc) • 392 B
JavaScript
"use client";
import { useSuppressHydrationWarning } from "./suppressHydrationWarning";
export default function RootLayout({ children }) {
// Suppress hydration warnings from browser extensions
useSuppressHydrationWarning();
return (
<html lang="en" suppressHydrationWarning={true}>
<head />
<body suppressHydrationWarning={true}>{children}</body>
</html>
);
}