Skip to content

Commit

Permalink
Merge pull request #52275 from callstack-internal/bugfix/51242
Browse files Browse the repository at this point in the history
Update selfDMReportID when opening/closing FAB
  • Loading branch information
Julesssss authored Nov 11, 2024
2 parents 191564c + 257ea89 commit da595d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ function FloatingActionButtonAndPopover({onHideCreateMenu, onShowCreateMenu}: Fl
};

// eslint-disable-next-line react-compiler/react-compiler, react-hooks/exhaustive-deps
const selfDMReportID = useMemo(() => ReportUtils.findSelfDMReportID(), [isLoading]);
const selfDMReportID = useMemo(() => ReportUtils.findSelfDMReportID(), [isLoading, isCreateMenuActive]);

const expenseMenuItems = useMemo((): PopoverMenuItem[] => {
if (canUseCombinedTrackSubmit) {
Expand Down

0 comments on commit da595d4

Please sign in to comment.