Skip to content

Commit

Permalink
Fix renaming transactions via card page
Browse files Browse the repository at this point in the history
  • Loading branch information
cjdenio committed Feb 7, 2024
1 parent 8cee301 commit e8c8a37
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Navigator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,14 @@ export default function Navigator() {
name="Transaction"
component={TransactionPage}
/>
<Stack.Screen
name="RenameTransaction"
component={RenameTransactionPage}
options={{
presentation: "modal",
title: "Edit Transaction Description",
}}
/>
</CardsStack.Navigator>
)}
</Tab.Screen>
Expand Down
1 change: 1 addition & 0 deletions src/lib/NavigatorParamList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export type CardsStackParamList = {
CardList: undefined;
Card: { card: Card };
Transaction: { orgId: string; transaction: Transaction };
RenameTransaction: { orgId: string; transaction: Transaction };
};

export type ReceiptsStackParamList = {
Expand Down

0 comments on commit e8c8a37

Please sign in to comment.