feat: Create Blank svg as placeholder while ThemeSwitch mounts
This commit is contained in:
parent
391f4c679b
commit
1101b2c266
@ -44,6 +44,7 @@ const Monitor = () => (
|
||||
<line x1="10" y1="13" x2="10" y2="17"></line>
|
||||
</svg>
|
||||
)
|
||||
const Blank = () => <svg className="h-6 w-6" />
|
||||
|
||||
const ThemeSwitch = () => {
|
||||
const [mounted, setMounted] = useState(false)
|
||||
|
Loading…
x
Reference in New Issue
Block a user