my-fleetbo-react-v1 1.0.3 → 1.0.5

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "my-fleetbo-react-v1",
3
3
  "private": false,
4
- "version": "1.0.3",
4
+ "version": "1.0.5",
5
5
  "description": "React template optimized for the Fleetbo ecosystem.",
6
6
  "author": "Jean Aubain Noucti",
7
7
  "license": "MIT",
package/src/App.jsx CHANGED
@@ -11,7 +11,7 @@ import AuthRouter from "./app/core/AuthRouter";
11
11
  import NotFound from './app/core/NotFound';
12
12
 
13
13
  // FLEETBO_IMPORTS
14
- import Login from "./app/mocks/Login";
14
+ import Login from "./app/mocks/login/Login";
15
15
  import SampleTab1 from './app/mocks/SampleTab1';
16
16
  import SampleTab2 from './app/mocks/SampleTab2';
17
17
  import SampleTab3 from './app/mocks/SampleTab3';
@@ -32,7 +32,7 @@ export default function Tab1() {
32
32
  if (action === 'HIDE_NAVBAR') setNavMode("none");
33
33
  if (action === 'SHOW_NAVBAR') setNavMode("show");
34
34
  if (action === 'PING_JS') {
35
- // Example : Fleetbo.exec('ModuleName', 'action', {}); Generate by Alex
35
+ // Example : Fleetbo.exec('ModuleName', 'action', {});
36
36
  }
37
37
  }
38
38
  });
@@ -1,8 +1,5 @@
1
1
  /**
2
2
  * Fleetbo Tab Redirect or Not
3
- *
4
- * This tab is handled by a native module (or its mock in dev).
5
- * If React renders this route (e.g. on reload), we redirect to the mock.
6
3
  */
7
4
  import { useEffect, useState } from 'react';
8
5
  import { PageConfig } from '@fleetbo';
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * Fleetbo Tab Redirect or Not
3
- * This tab is handled by a fleetbo module (or its mock in dev).
4
3
  */
5
4
  import { useEffect, useState } from 'react';
6
5
  import { PageConfig } from '@fleetbo';
File without changes