[ui] fix spurious TS error (?)

feat/vaults
Tomáš Mládek 2022-01-28 20:39:00 +01:00
parent 7592c8f46b
commit bd1655d61a
No known key found for this signature in database
GPG Key ID: ED21612889E75EC5
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ export default function (): HistorySource {
},
history: {
get state() {
return history.location.state;
return history.location.state as object;
},
pushState(state, title, uri) {
history.push(uri, state);