@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.
@@ -1,6 +1,6 @@
1
1
  import { ActionResultError, BridgeUtils, CoreApp, createClient } from '@etsoo/appscript';
2
2
  import { WindowStorage } from '@etsoo/shared';
3
- import { redirectTo } from '@reach/router';
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
- redirectTo(url);
197
+ navigate(url);
198
198
  }
199
199
  /**
200
200
  * Set page data
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/react",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "TypeScript ReactJs framework",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -14,7 +14,7 @@ import {
14
14
  NotificationReturn
15
15
  } from '@etsoo/notificationbase';
16
16
  import { DataTypes, WindowStorage } from '@etsoo/shared';
17
- import { redirectTo } from '@reach/router';
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
- redirectTo(url);
358
+ navigate(url);
359
359
  }
360
360
 
361
361
  /**