fix: ssr rendering
This commit is contained in:
@@ -19,6 +19,7 @@ export function LocaleSwitcher() {
|
||||
|
||||
return (
|
||||
<div className="flex items-center gap-2 w-full py-2 hover:opacity-80">
|
||||
{/* eslint-disable-next-line @next/next/no-img-element */}
|
||||
<img
|
||||
src={`/flags/${currentLocale}.svg`}
|
||||
alt={currentLocale}
|
||||
|
||||
Reference in New Issue
Block a user