new windo theme update

This commit is contained in:
2025-09-05 11:35:24 +05:30
parent 6f0adcab0f
commit 18562307a2
2 changed files with 1 additions and 2 deletions

View File

@@ -37,7 +37,7 @@ export const RenderInNewWindow: React.FC<NewWindowProps> = ({
copyStyles = true,
noopener = true,
className,
theme = "light",
theme = localStorage.getItem('theme') ?? 'light',
}) => {
const [mounted, setMounted] = useState(false);
const childWindowRef = useRef<Window | null>(null);