diff --git a/src/modules/actions/api/initial.ts b/src/modules/actions/api/initial.ts index 28dd7e53c..e4fc9c4bd 100644 --- a/src/modules/actions/api/initial.ts +++ b/src/modules/actions/api/initial.ts @@ -178,7 +178,6 @@ addReducer('loadNearestCountry', (global) => { })(); }); - addReducer('setDeviceToken', (global, actions, deviceToken) => { setGlobal({ ...global, diff --git a/src/util/fastSmoothScroll.ts b/src/util/fastSmoothScroll.ts index 6d0a7770f..b90d08677 100644 --- a/src/util/fastSmoothScroll.ts +++ b/src/util/fastSmoothScroll.ts @@ -145,7 +145,7 @@ function scrollWithJs( } function longTransition(t: number) { - return t === 1 ? 1 : 1 - 2 ** (-10 * t); + return 1 - ((1 - t) ** 5); } function shortTransition(t: number) {