fix(notes): hide floating button while a note is open
This commit is contained in:
1 parent
98e5343bc3
commit
4de2ef4739
1 file changed
+1
-1
+1
-1
@@ -77,7 +77,7 @@ function App() {
|
||||
)}
|
||||
</section>
|
||||
|
||||
<FloatingButton onClick={createNote} />
|
||||
{!creating && !selectedNote && <FloatingButton onClick={createNote} />}
|
||||
</main>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user