@etsoo/react 1.5.0 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/app/ReactApp.js +2 -2
- package/package.json +1 -1
- package/src/app/ReactApp.ts +2 -2
package/lib/app/ReactApp.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ActionResultError, BridgeUtils, CoreApp, createClient } from '@etsoo/appscript';
|
|
2
2
|
import { WindowStorage } from '@etsoo/shared';
|
|
3
|
-
import {
|
|
3
|
+
import { navigate } from '@reach/router';
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import { NotifierMU } from '../mu/NotifierMU';
|
|
6
6
|
import { ProgressCount } from '../mu/ProgressCount';
|
|
@@ -194,7 +194,7 @@ export class ReactApp extends CoreApp {
|
|
|
194
194
|
* @param url Url
|
|
195
195
|
*/
|
|
196
196
|
redirectTo(url) {
|
|
197
|
-
|
|
197
|
+
navigate(url);
|
|
198
198
|
}
|
|
199
199
|
/**
|
|
200
200
|
* Set page data
|
package/package.json
CHANGED
package/src/app/ReactApp.ts
CHANGED
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
NotificationReturn
|
|
15
15
|
} from '@etsoo/notificationbase';
|
|
16
16
|
import { DataTypes, WindowStorage } from '@etsoo/shared';
|
|
17
|
-
import {
|
|
17
|
+
import { navigate } from '@reach/router';
|
|
18
18
|
import React from 'react';
|
|
19
19
|
import { NotifierMU } from '../mu/NotifierMU';
|
|
20
20
|
import { ProgressCount } from '../mu/ProgressCount';
|
|
@@ -355,7 +355,7 @@ export class ReactApp<
|
|
|
355
355
|
* @param url Url
|
|
356
356
|
*/
|
|
357
357
|
override redirectTo(url: string) {
|
|
358
|
-
|
|
358
|
+
navigate(url);
|
|
359
359
|
}
|
|
360
360
|
|
|
361
361
|
/**
|