File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/frontend/src/pages/CalendarPage Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ const CalendarTab: React.FC = () => {
2626 const canViewReviews = isHead ( user . role ) || isLead ( user . role ) ;
2727
2828 const tabs = [
29- { tabUrlValue : 'mainCalendar ' , tabName : 'Calendar' } ,
29+ { tabUrlValue : '' , tabName : 'Calendar' } ,
3030 { tabUrlValue : 'yourEvents' , tabName : 'Your Events' }
3131 ] ;
3232
@@ -93,7 +93,7 @@ const CalendarTab: React.FC = () => {
9393
9494 const handleNewEventClick = ( date ?: Date ) => {
9595 if ( tabIndex !== 0 ) {
96- history . push ( ` ${ routes . CALENDAR } /mainCalendar` ) ;
96+ history . push ( routes . CALENDAR ) ;
9797 }
9898 setCreateModalDate ( date || new Date ( ) ) ;
9999 setIsCreateModalOpen ( true ) ;
@@ -110,7 +110,7 @@ const CalendarTab: React.FC = () => {
110110 setTab = { setTabIndex }
111111 tabsLabels = { tabs }
112112 baseUrl = { routes . CALENDAR }
113- defaultTab = "mainCalendar "
113+ defaultTab = ""
114114 id = "calendar-tabs"
115115 />
116116 </ Box >
You can’t perform that action at this time.
0 commit comments