fix: only pages/index need data-tauri-drag-region

This commit is contained in:
Lin Onetwo
2022-12-19 23:31:02 +08:00
committed by DarkSky
parent 3a13f3e9a2
commit bfe7aa094f
+1 -1
View File
@@ -16,7 +16,7 @@ const Affine = () => {
const [show, setShow] = useState(false); const [show, setShow] = useState(false);
return ( return (
<> <>
<StyledHeader data-tauri-drag-region={window.CLIENT_APP}> <StyledHeader>
<ThemeModeSwitch></ThemeModeSwitch> <ThemeModeSwitch></ThemeModeSwitch>
<button <button
onClick={() => { onClick={() => {