dont animate profileimage if dashboard is opening

This commit is contained in:
Gerome Matilla 2020-06-04 10:48:53 +08:00
parent a6fce8a7b9
commit 57bfba1387

View File

@ -24,13 +24,6 @@ const hideDashboard = () => {
const toggleDashboard = () => {
// If profile anim is still running,
// Return to avoid spam
if (profileAnimRunning) return;
// Rotate profile
rotateProfile();
if (rightDashboardVisibility) {
// Hide search box
hideDashboard();