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

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={() => {