mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 15:09:33 +01:00
fix error
This commit is contained in:
@@ -505,7 +505,7 @@ export const ActionSheetComponent = ({
|
|||||||
Keyboard.dismiss();
|
Keyboard.dismiss();
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
{!note.id && !note.dateCreated ? (
|
{!note || !note.id ? (
|
||||||
<Paragraph style={{marginVertical: 10, alignSelf: 'center'}}>
|
<Paragraph style={{marginVertical: 10, alignSelf: 'center'}}>
|
||||||
Start writing to save your note.
|
Start writing to save your note.
|
||||||
</Paragraph>
|
</Paragraph>
|
||||||
@@ -516,7 +516,7 @@ export const ActionSheetComponent = ({
|
|||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
marginVertical: 10,
|
marginVertical: 10,
|
||||||
}}>
|
}}>
|
||||||
<Heading size={SIZE.md}>{note.title.replace('\n', '')}</Heading>
|
<Heading size={SIZE.md}>{note?.title.replace('\n', '')}</Heading>
|
||||||
|
|
||||||
<Paragraph
|
<Paragraph
|
||||||
numberOfLines={2}
|
numberOfLines={2}
|
||||||
|
|||||||
Reference in New Issue
Block a user