File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 CommandIcon ,
44 KeyboardIcon ,
55} from "@phosphor-icons/react" ;
6- import { getGoogleSyncStatus } from "@web/auth/google/hooks/useConnectGoogle/useConnectGoogle.util" ;
76import { useGoogleUiState } from "@web/auth/google/hooks/useConnectGoogle/useGoogleUiState" ;
87import { reloadLocation } from "@web/common/utils/browser/browser-navigation.util" ;
98import { useVersionCheck } from "@web/components/PlannerSidebar/PlannerSidebarActions/useVersionCheck" ;
@@ -27,7 +26,7 @@ export const PlannerSidebarActions = ({
2726 const { isUpdateAvailable } = useVersionCheck ( ) ;
2827 const googleState = useGoogleUiState ( ) ;
2928 const isCalendarSyncing =
30- getGoogleSyncStatus ( googleState ) ?. variant === "syncing " ;
29+ googleState === "IMPORTING" || googleState === "repairing ";
3130
3231 const handleUpdateReload = ( ) => {
3332 reloadLocation ( ) ;
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ export const UpNextCard: FC = () => {
3939 < button
4040 aria-label = { `Up next: ${ upNext . title } . ${ countdown } .` }
4141 className = "c-focus-ring group relative flex w-full min-w-0 flex-col gap-0.5 rounded border border-border-primary bg-bg-secondary px-2 py-1.5 text-left hover:brightness-110"
42- onClick = { ( ) => openEventDetails ( ) }
42+ onClick = { ( ) => openEventDetails ( "gridClick" ) }
4343 type = "button"
4444 >
4545 < span className = "pr-8 text-accent-primary text-xs" > { countdown } </ span >
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ export function useUpNextEvent() {
3131 : undefined ;
3232
3333 const openEventDetails = useCallback (
34- ( activity : "gridClick" | "keyboardEdit" = "gridClick" ) => {
34+ ( activity : "gridClick" | "keyboardEdit" ) => {
3535 if ( ! sourceEvent ) return ;
3636
3737 const draft = editGridEventDraft ( sourceEvent ) ;
You can’t perform that action at this time.
0 commit comments