lincd-cli 0.2.48 → 0.2.49

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.
@@ -6,6 +6,7 @@ import {AppRoot} from 'lincd-server-utils/lib/components/AppRoot';
6
6
  import {Head} from 'lincd-server-utils/lib/components/Head';
7
7
  import {Body} from 'lincd-server-utils/lib/components/Body';
8
8
  import AppRoutes, {ROUTES} from './routes';
9
+ import {ProvideAuth} from 'lincd-auth/lib/hooks/useAuth';
9
10
 
10
11
  //Note that by default LINCD apps are set up with support for SCSS (sass) and CSS Modules
11
12
  //So any .scss file needs to be imported by itself
@@ -22,7 +23,9 @@ export default function App() {
22
23
  <Body routes={ROUTES} pageStyles={style} className={style.App}>
23
24
  <Suspense fallback={<Spinner />}>
24
25
  <ErrorBoundary FallbackComponent={Error}>
25
- <AppRoutes />
26
+ <ProvideAuth>
27
+ <AppRoutes />
28
+ </ProvideAuth>
26
29
  </ErrorBoundary>
27
30
  </Suspense>
28
31
  </Body>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lincd-cli",
3
- "version": "0.2.48",
3
+ "version": "0.2.49",
4
4
  "description": "Command line tools for the lincd.js library",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {