fix: flickering when transitioning to some pages

This commit is contained in:
Jordan Knott
2020-09-11 14:41:21 -05:00
parent b603081691
commit aa5e1c0661
3 changed files with 21 additions and 13 deletions

View File

@ -260,11 +260,7 @@ const Projects = () => {
},
});
if (loading) {
return (
<>
<span>loading</span>
</>
);
return <GlobalTopNavbar onSaveProjectName={NOOP} projectID={null} name={null} />;
}
const colors = ['#e362e3', '#7a6ff0', '#37c5ab', '#aa62e3', '#e8384f'];