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

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