Skip to content

Commit

Permalink
Add date on widget for single day trips (#699)
Browse files Browse the repository at this point in the history
  • Loading branch information
skaplan-dev authored Jun 24, 2023
1 parent 0848c2e commit 11ad7d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/dashboard/WidgetTitle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const WidgetTitle: React.FC<WidgetTitle> = ({
const isMobile = !useBreakpoint('md');
const { query } = useDelimitatedRoute();
const date = getSelectedDates({
startDate: query.startDate,
startDate: query.startDate ? query.startDate : query.date,
endDate: query.endDate,
view: query.view,
});
Expand Down

0 comments on commit 11ad7d1

Please sign in to comment.