mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-22 22:49:45 +01:00
fix move note dialog
This commit is contained in:
@@ -137,7 +137,7 @@ const IntComponent = ({close, note, setNote}) => {
|
||||
newTopicTitle = null;
|
||||
};
|
||||
|
||||
const handlePress = async () => {
|
||||
const handlePress = async (item,index) => {
|
||||
if (
|
||||
note?.notebooks?.findIndex(
|
||||
(o) =>
|
||||
@@ -398,7 +398,7 @@ const IntComponent = ({close, note, setNote}) => {
|
||||
}
|
||||
renderItem={({item, index}) => (
|
||||
<PressableButton
|
||||
onPress={handlePress}
|
||||
onPress={() => handlePress(item,index)}
|
||||
type="gray"
|
||||
customStyle={{
|
||||
height: 50,
|
||||
|
||||
Reference in New Issue
Block a user