diff options
| author | Oskar Nyberg <oskar@mullvad.net> | 2022-11-24 18:14:03 +0100 |
|---|---|---|
| committer | Oskar Nyberg <oskar@mullvad.net> | 2022-11-28 17:15:17 +0100 |
| commit | f81ac3a4a0662050b4dd195ea6784cc99a13e687 (patch) | |
| tree | 2a6f5c1838593d7c8850e0fa6acdfeb8e096704b /gui/src/shared | |
| parent | 1de7b90fc7fefb137849b5404db2c30241bcffde (diff) | |
| download | mullvadvpn-f81ac3a4a0662050b4dd195ea6784cc99a13e687.tar.xz mullvadvpn-f81ac3a4a0662050b4dd195ea6784cc99a13e687.zip | |
Update history calls to accomodate transition in state
Diffstat (limited to 'gui/src/shared')
| -rw-r--r-- | gui/src/shared/ipc-types.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/src/shared/ipc-types.ts b/gui/src/shared/ipc-types.ts index 81ca28b1ac..c186c9ac83 100644 --- a/gui/src/shared/ipc-types.ts +++ b/gui/src/shared/ipc-types.ts @@ -1,5 +1,7 @@ import { Action, Location } from 'history'; +import { ITransitionSpecification } from '../renderer/lib/history'; + export interface ICurrentAppVersionInfo { gui: string; daemon?: string; @@ -16,6 +18,7 @@ export type IChangelog = Array<string>; export interface LocationState { scrollPosition: [number, number]; expandedSections: Record<string, boolean>; + transition: ITransitionSpecification; } export interface IHistoryObject { |
