feat: disable user select

This commit is contained in:
GyDi committed 2022-02-13 19:52:35 +08:00
1 parent d599be7e7c
commit ce248bc169
1 file changed
+2 -2
+2 -2
View File
@@ -12,8 +12,8 @@ const BasePage: React.FC<Props> = (props) => {
return (
<div className="base-page" data-windrag>
<header data-windrag>
<Typography variant="h4" component="h1">
<header data-windrag style={{ userSelect: "none" }}>
<Typography variant="h4" component="h1" data-windrag>
{title}
</Typography>