new windo theme update
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user