fix: pinning should be disabled for notes with context

This commit is contained in:
thecodrr
2020-09-24 15:00:57 +05:00
parent 4f9e70ded4
commit c48797f60f

View File

@@ -18,7 +18,7 @@ function createProfile(item, itemHeight, estimatedItemHeight) {
const NotesProfile = createProfile(
(index, item, context) => (
<Note index={index} pinnable={!!context} item={item} context={context} />
<Note index={index} pinnable={!context} item={item} context={context} />
),
getNoteHeight,
MAX_HEIGHTS.note