Skip to content

Commit 201faaf

Browse files
committed
Remove empty ".then()"
They were not doing anything, so they can go.
1 parent cf4f46a commit 201faaf

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/components/events/partials/modals/EventDetails.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,10 @@ const EventDetails = ({
8383

8484
useEffect(() => {
8585
dispatch(removeNotificationWizardForm());
86-
dispatch(fetchMetadata(eventId)).then();
87-
dispatch(fetchSchedulingInfo(eventId)).then();
88-
dispatch(fetchEventStatistics(eventId)).then();
89-
dispatch(fetchAssetUploadOptions()).then();
86+
dispatch(fetchMetadata(eventId));
87+
dispatch(fetchSchedulingInfo(eventId));
88+
dispatch(fetchEventStatistics(eventId));
89+
dispatch(fetchAssetUploadOptions());
9090

9191
dispatch(fetchHasActiveTransactions(eventId)).then((fetchTransactionResult) => {
9292
const result = unwrapResult(fetchTransactionResult)

0 commit comments

Comments
 (0)