diff --git a/libs/ngrx-accelerator/src/lib/store-connector/onecx-reducer.ts b/libs/ngrx-accelerator/src/lib/store-connector/onecx-reducer.ts index c08a64d2..95f2a6a0 100644 --- a/libs/ngrx-accelerator/src/lib/store-connector/onecx-reducer.ts +++ b/libs/ngrx-accelerator/src/lib/store-connector/onecx-reducer.ts @@ -1,7 +1,7 @@ import { createReducer, on } from '@ngrx/store' import { OneCxActions } from './onecx-actions' import { OneCxState } from './onecx-state' -import { PayloadNavigatedEvent } from '@onecx/integration-interface' +import { NavigatedEventPayload } from '@onecx/integration-interface' export const oneCxReducer = createReducer( {}, @@ -9,7 +9,7 @@ export const oneCxReducer = createReducer( OneCxActions.navigated, (state: OneCxState, action): OneCxState => ({ ...state, - location: action.event as PayloadNavigatedEvent, + location: action.event as NavigatedEventPayload, }) ) ) diff --git a/libs/ngrx-accelerator/src/lib/store-connector/onecx-state.ts b/libs/ngrx-accelerator/src/lib/store-connector/onecx-state.ts index 1152db5a..b2374a23 100644 --- a/libs/ngrx-accelerator/src/lib/store-connector/onecx-state.ts +++ b/libs/ngrx-accelerator/src/lib/store-connector/onecx-state.ts @@ -1,6 +1,6 @@ -import { PayloadNavigatedEvent } from '@onecx/integration-interface' +import { NavigatedEventPayload } from '@onecx/integration-interface' -export type LocationState = PayloadNavigatedEvent +export type LocationState = NavigatedEventPayload export interface OneCxState { location?: LocationState | undefined }