Skip to content

Commit

Permalink
fix: add missing hook dep in ObservationEdit (#297)
Browse files Browse the repository at this point in the history
  • Loading branch information
achou11 authored Apr 29, 2024
1 parent f72edc8 commit 7b6ec24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/screens/ObservationEdit/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const ObservationEdit: NativeNavigationComponent<'ObservationEdit'> & {
<SaveButton observationId={observationId} openErrorModal={openSheet} />
),
});
}, [navigation, openSheet]);
}, [navigation, openSheet, observationId]);

const handleCameraPress = React.useCallback(() => {
navigation.navigate('AddPhoto');
Expand Down

1 comment on commit 7b6ec24

@expo
Copy link

@expo expo bot commented on 7b6ec24 Apr 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GitHub Build Trigger Failure

The build trigger failed with the following error:

INVALID_EAS_JSON_ERROR: eas.json not found in the repository.

Please check your GitHub app installation settings and your Expo project's GitHub settings to make sure you've configured everything correctly.

Please sign in to comment.