@nyris/nyris-webapp 0.2.4 → 0.3.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/build/asset-manifest.json +32 -18
- package/build/index.html +1 -1
- package/build/js/test.js +62 -0
- package/build/{precache-manifest.211a3df6baece8bbe3672765faa0d629.js → precache-manifest.3e7aa489925304848e8f04e3015d8567.js} +89 -13
- package/build/service-worker.js +1 -1
- package/build/static/css/2.8285176a.chunk.css +2 -0
- package/build/static/css/2.8285176a.chunk.css.map +1 -0
- package/build/static/css/main.b731b101.chunk.css +2 -0
- package/build/static/css/main.b731b101.chunk.css.map +1 -0
- package/build/static/js/2.8297cb74.chunk.js +3 -0
- package/build/static/js/2.8297cb74.chunk.js.LICENSE.txt +133 -0
- package/build/static/js/2.8297cb74.chunk.js.map +1 -0
- package/build/static/js/main.05909665.chunk.js +2 -0
- package/build/static/js/main.05909665.chunk.js.map +1 -0
- package/build/static/js/{runtime-main.f5553a9b.js → runtime-main.b418ff16.js} +1 -1
- package/build/static/js/{runtime-main.f5553a9b.js.map → runtime-main.b418ff16.js.map} +1 -1
- package/build/static/media/Fill.37094b44.svg +3 -0
- package/build/static/media/Montserrat-Bold.5a052e98.otf +0 -0
- package/build/static/media/Montserrat-Light.21789e89.otf +0 -0
- package/build/static/media/Montserrat-Medium.a53e0373.otf +0 -0
- package/build/static/media/Montserrat-Regular.71cdc681.otf +0 -0
- package/build/static/media/Montserrat-SemiBold.f613d915.otf +0 -0
- package/build/static/media/Rectangle.4dd8b747.png +0 -0
- package/build/static/media/admin.9529c7f6.svg +3 -0
- package/build/static/media/bg-support-page.6ac55268.svg +9 -0
- package/build/static/media/book_mark.8e294c0b.svg +3 -0
- package/build/static/media/icon_dislike.94607ca6.svg +3 -0
- package/build/static/media/icon_like.a4fb1b18.svg +3 -0
- package/build/static/media/icon_modal_image.3068d0ea.svg +21 -0
- package/build/static/media/icon_search_image.c2c728c0.svg +3 -0
- package/build/static/media/nyris_logo.22d8f250.svg +3 -0
- package/build/static/media/reload_icon.4b579a74.svg +3 -0
- package/build/static/media/save_search.bebaeebf.svg +3 -0
- package/build/static/media/support.289c3a3c.svg +3 -0
- package/build/static/media/translate_icon.f0492297.svg +3 -0
- package/package.json +31 -6
- package/public/js/test.js +62 -0
- package/src/App.css +27 -11
- package/src/App.tsx +19 -217
- package/src/Router.tsx +97 -0
- package/src/Store/Auth.ts +44 -0
- package/src/Store/Nyris.ts +77 -0
- package/src/Store/Search.ts +269 -0
- package/src/Store/Store.ts +46 -0
- package/src/Store/common.d.ts +10 -0
- package/src/{epics → Store/epics}/feedback.ts +0 -0
- package/src/{epics → Store/epics}/types.ts +1 -1
- package/src/common/assets/fonts/Montserrat_OTF/Montserrat-Bold.otf +0 -0
- package/src/common/assets/fonts/Montserrat_OTF/Montserrat-Light.otf +0 -0
- package/src/common/assets/fonts/Montserrat_OTF/Montserrat-Medium.otf +0 -0
- package/src/common/assets/fonts/Montserrat_OTF/Montserrat-Regular.otf +0 -0
- package/src/common/assets/fonts/Montserrat_OTF/Montserrat-SemiBold.otf +0 -0
- package/src/{fonts → common/assets/fonts}/roboto-bold-webfont.woff +0 -0
- package/src/{fonts → common/assets/fonts}/roboto-bold-webfont.woff2 +0 -0
- package/src/{fonts → common/assets/fonts}/roboto-italic-webfont.woff +0 -0
- package/src/{fonts → common/assets/fonts}/roboto-italic-webfont.woff2 +0 -0
- package/src/{fonts → common/assets/fonts}/roboto-regular-webfont.woff +0 -0
- package/src/{fonts → common/assets/fonts}/roboto-regular-webfont.woff2 +0 -0
- package/src/{fonts → common/assets/fonts}/robotocondensed-bold-webfont.woff +0 -0
- package/src/{fonts → common/assets/fonts}/robotocondensed-bold-webfont.woff2 +0 -0
- package/src/{fonts → common/assets/fonts}/robotocondensed-bolditalic-webfont.woff +0 -0
- package/src/{fonts → common/assets/fonts}/robotocondensed-bolditalic-webfont.woff2 +0 -0
- package/src/common/assets/icons/Fill.png +0 -0
- package/src/common/assets/icons/Fill.svg +3 -0
- package/src/common/assets/icons/Icon_wechat.png +0 -0
- package/src/common/assets/icons/Icon_whatsapp.png +0 -0
- package/src/common/assets/icons/admin.png +0 -0
- package/src/common/assets/icons/admin.svg +3 -0
- package/src/common/assets/icons/book_mark.png +0 -0
- package/src/common/assets/icons/book_mark.svg +3 -0
- package/src/common/assets/icons/icon_barcode.png +0 -0
- package/src/common/assets/icons/icon_camera.png +0 -0
- package/src/common/assets/icons/icon_dislike.svg +3 -0
- package/src/common/assets/icons/icon_disslike.png +0 -0
- package/src/common/assets/icons/icon_email.png +0 -0
- package/src/common/assets/icons/icon_like.png +0 -0
- package/src/common/assets/icons/icon_like.svg +3 -0
- package/src/common/assets/icons/icon_modal_image.png +0 -0
- package/src/common/assets/icons/icon_modal_image.svg +21 -0
- package/src/common/assets/icons/icon_picture.png +0 -0
- package/src/common/assets/icons/icon_search_image.png +0 -0
- package/src/common/assets/icons/icon_search_image.svg +3 -0
- package/src/common/assets/icons/nyris_logo.svg +3 -0
- package/src/common/assets/icons/reload_icon.png +0 -0
- package/src/common/assets/icons/reload_icon.svg +3 -0
- package/src/common/assets/icons/save_search.png +0 -0
- package/src/common/assets/icons/save_search.svg +3 -0
- package/src/common/assets/icons/setting_search_icon.png +0 -0
- package/src/common/assets/icons/support.png +0 -0
- package/src/common/assets/icons/support.svg +3 -0
- package/src/common/assets/icons/translate_icon.png +0 -0
- package/src/common/assets/icons/translate_icon.svg +3 -0
- package/src/common/assets/icons/view_off.png +0 -0
- package/src/common/assets/images/Rectangle.png +0 -0
- package/src/common/assets/images/bg-support-page.svg +9 -0
- package/src/{images → common/assets/images}/fav/android-icon-192x192.png +0 -0
- package/src/{images → common/assets/images}/fav/apple-icon-114x114.png +0 -0
- package/src/{images → common/assets/images}/fav/apple-icon-120x120.png +0 -0
- package/src/{images → common/assets/images}/fav/apple-icon-144x144.png +0 -0
- package/src/{images → common/assets/images}/fav/apple-icon-152x152.png +0 -0
- package/src/{images → common/assets/images}/fav/apple-icon-180x180.png +0 -0
- package/src/{images → common/assets/images}/fav/apple-icon-57x57.png +0 -0
- package/src/{images → common/assets/images}/fav/apple-icon-60x60.png +0 -0
- package/src/{images → common/assets/images}/fav/apple-icon-72x72.png +0 -0
- package/src/{images → common/assets/images}/fav/apple-icon-76x76.png +0 -0
- package/src/{images → common/assets/images}/fav/browserconfig.xml +0 -0
- package/src/{images → common/assets/images}/fav/favicon-16x16.png +0 -0
- package/src/{images → common/assets/images}/fav/favicon-32x32.png +0 -0
- package/src/{images → common/assets/images}/fav/favicon-96x96.png +0 -0
- package/src/{images → common/assets/images}/fav/manifest.json +0 -0
- package/src/{images → common/assets/images}/ic_cam.png +0 -0
- package/src/{images → common/assets/images}/ic_cam.svg +0 -0
- package/src/{images → common/assets/images}/ic_cam_large.png +0 -0
- package/src/{images → common/assets/images}/ic_cam_large.svg +0 -0
- package/src/{images → common/assets/images}/ic_cam_large_noimage.png +0 -0
- package/src/{images → common/assets/images}/ic_close_feedback.png +0 -0
- package/src/{images → common/assets/images}/ic_close_feedback.svg +0 -0
- package/src/{images → common/assets/images}/ic_shopNow.png +0 -0
- package/src/{images → common/assets/images}/ic_shopNow.svg +0 -0
- package/src/{images → common/assets/images}/ic_shopNowLight.png +0 -0
- package/src/{images → common/assets/images}/ic_shopNowLight.svg +0 -0
- package/src/common/assets/images/image_test.png +0 -0
- package/src/{images → common/assets/images}/nyris_logo.png +0 -0
- package/src/{images → common/assets/images}/rewe.svg +0 -0
- package/src/{images → common/assets/images}/sectionTransBack.png +0 -0
- package/src/{images → common/assets/images}/sectionTransBack.svg +0 -0
- package/src/{images → common/assets/images}/sectionTransTop.png +0 -0
- package/src/{images → common/assets/images}/sectionTransTop.svg +0 -0
- package/src/components/DetailItem.tsx +175 -0
- package/src/components/DragDropFile.tsx +188 -0
- package/src/components/ExampleImages.tsx +32 -17
- package/src/components/Feedback.tsx +87 -48
- package/src/components/FilterComponent.tsx +47 -0
- package/src/components/Footer.tsx +29 -0
- package/src/components/FooterMD.tsx +54 -0
- package/src/components/FooterNewVersion.tsx +12 -0
- package/src/components/FooterResult.tsx +47 -0
- package/src/components/Header.tsx +35 -0
- package/src/components/HeaderMd.tsx +39 -0
- package/src/components/HeaderNewVersion.tsx +92 -0
- package/src/components/Layout.tsx +46 -0
- package/src/components/LoadingScreen/index.tsx +42 -0
- package/src/components/Navigation.tsx +34 -0
- package/src/components/Panigation/Pagination.tsx +140 -0
- package/src/components/Panigation/cx.js +3 -0
- package/src/components/Panigation/isModifierClick.js +10 -0
- package/src/components/Result.tsx +186 -113
- package/src/components/Saved/AllItem.tsx +32 -0
- package/src/components/Saved/Category.tsx +16 -0
- package/src/components/carousel/DefaultCarousel.tsx +48 -0
- package/src/components/common.d.ts +9 -0
- package/src/components/common.scss +54 -0
- package/src/components/default-select.tsx +45 -0
- package/src/components/hitItem/hits.tsx +50 -0
- package/src/components/hitItem/infinitiHits.tsx +33 -0
- package/src/components/input/inputSearch.tsx +77 -0
- package/src/components/modal/DefaultModal.tsx +28 -0
- package/src/components/preview/preview.tsx +433 -0
- package/src/components/results/ItemResult.tsx +155 -0
- package/src/components/search/ListSearch.tsx +209 -0
- package/src/defaults.ts +4 -3
- package/src/index.css +577 -306
- package/src/index.tsx +39 -186
- package/src/modules/LandingPage/common.scss +1288 -0
- package/src/modules/LandingPage/indexApp.tsx +474 -0
- package/src/modules/LandingPage/indexAppMD.tsx +494 -0
- package/src/modules/LandingPage/indexNewVersion.tsx +118 -0
- package/src/page/Auth/login.tsx +7 -0
- package/src/page/Exception/404.tsx +11 -0
- package/src/page/History/index.tsx +76 -0
- package/src/page/Profile/index.tsx +87 -0
- package/src/page/Saved/MockData.ts +223 -0
- package/src/page/Saved/index.tsx +166 -0
- package/src/page/Support/index.tsx +160 -0
- package/src/page/result/MockData.ts +36 -0
- package/src/page/result/index.tsx +482 -0
- package/src/services/Feedback.ts +65 -0
- package/src/services/findByImage.ts +24 -0
- package/src/services/findRegionsCustom.ts +212 -0
- package/src/services/image.ts +110 -0
- package/src/services/nyris.ts +123 -0
- package/src/services/session.ts +20 -0
- package/src/services/types.ts +96 -0
- package/src/types.ts +43 -3
- package/tsconfig.json +3 -8
- package/build/static/css/2.43a1c8b7.chunk.css +0 -2
- package/build/static/css/2.43a1c8b7.chunk.css.map +0 -1
- package/build/static/css/main.f6ed5f12.chunk.css +0 -2
- package/build/static/css/main.f6ed5f12.chunk.css.map +0 -1
- package/build/static/js/2.b56c1bca.chunk.js +0 -3
- package/build/static/js/2.b56c1bca.chunk.js.LICENSE.txt +0 -79
- package/build/static/js/2.b56c1bca.chunk.js.map +0 -1
- package/build/static/js/main.a9ea9ea5.chunk.js +0 -2
- package/build/static/js/main.a9ea9ea5.chunk.js.map +0 -1
- package/src/AppMD.tsx +0 -320
- package/src/actions/nyrisAppActions.ts +0 -76
- package/src/actions/searchActions.ts +0 -135
- package/src/epics/index.ts +0 -133
- package/src/epics/search.ts +0 -114
package/src/index.tsx
CHANGED
|
@@ -1,199 +1,52 @@
|
|
|
1
1
|
// Some people are still using internet explorer
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
|
|
12
|
-
import {
|
|
13
|
-
import
|
|
14
|
-
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
loadUrl,
|
|
18
|
-
reducer as searchReducer,
|
|
19
|
-
selectionChanged, submitNegativeFeedback, submitPositiveFeedback
|
|
20
|
-
} from './actions/searchActions';
|
|
21
|
-
import {
|
|
22
|
-
hideFeedback,
|
|
23
|
-
reducer as nyrisReducer,
|
|
24
|
-
showCamera,
|
|
25
|
-
showStart
|
|
26
|
-
} from './actions/nyrisAppActions';
|
|
27
|
-
import { getUrlParam } from "./utils";
|
|
28
|
-
import {composeWithDevTools} from "redux-devtools-extension";
|
|
29
|
-
import {AppAction, AppSettings, AppState, MDSettings} from "./types";
|
|
30
|
-
import {createEpicMiddleware} from "redux-observable";
|
|
31
|
-
import NyrisAPI from "@nyris/nyris-api";
|
|
32
|
-
import {createMuiTheme, MuiThemeProvider} from "@material-ui/core";
|
|
33
|
-
import 'typeface-roboto';
|
|
34
|
-
import {defaultMdSettings, defaultSettings} from "./defaults";
|
|
35
|
-
import rootEpic from "./epics";
|
|
36
|
-
import { createHashHistory } from 'history';
|
|
37
|
-
|
|
38
|
-
|
|
2
|
+
import "react-app-polyfill/ie11";
|
|
3
|
+
import "react-app-polyfill/stable";
|
|
4
|
+
import React from "react";
|
|
5
|
+
import ReactDOM from "react-dom";
|
|
6
|
+
import * as serviceWorker from "./serviceWorker";
|
|
7
|
+
import { Provider } from "react-redux";
|
|
8
|
+
import { AppSettings, MDSettings } from "./types";
|
|
9
|
+
import { MuiThemeProvider } from "@material-ui/core";
|
|
10
|
+
import "typeface-roboto";
|
|
11
|
+
import { defaultMdSettings } from "./defaults";
|
|
12
|
+
import { HashRouter } from "react-router-dom";
|
|
13
|
+
import Router from "Router";
|
|
14
|
+
import { store } from "Store/Store";
|
|
15
|
+
import "react-responsive-carousel/lib/styles/carousel.min.css";
|
|
16
|
+
import { createTheme } from "@material-ui/core/styles";
|
|
39
17
|
declare var settings: AppSettings;
|
|
40
18
|
|
|
41
|
-
|
|
42
|
-
function scrollTop() {
|
|
43
|
-
// TODO might require polyfill for ios and edge
|
|
44
|
-
window.scrollTo({top: 0, left: 0, behavior: "smooth"});
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
let normalizedSettings : AppSettings = {
|
|
50
|
-
...defaultSettings,
|
|
51
|
-
...settings,
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
normalizedSettings = {
|
|
55
|
-
...normalizedSettings,
|
|
56
|
-
apiKey: getUrlParam('apiKey') as string || normalizedSettings.apiKey,
|
|
57
|
-
xOptions: getUrlParam('xOptions') as string || normalizedSettings.xOptions,
|
|
58
|
-
regions: getUrlParam('use.regions') as boolean || normalizedSettings.regions,
|
|
59
|
-
preview: getUrlParam('use.preview') as boolean || normalizedSettings.preview,
|
|
60
|
-
|
|
61
|
-
};
|
|
62
|
-
|
|
63
19
|
document.title = window.location.host;
|
|
64
20
|
|
|
65
|
-
const api = new NyrisAPI(normalizedSettings);
|
|
66
|
-
const history = createHashHistory();
|
|
67
|
-
|
|
68
|
-
const epicMiddleware = createEpicMiddleware<AppAction, AppAction, AppState>({
|
|
69
|
-
dependencies: {api, history}
|
|
70
|
-
});
|
|
71
|
-
|
|
72
|
-
const rootReducer = combineReducers({
|
|
73
|
-
settings: () => normalizedSettings as AppSettings,
|
|
74
|
-
nyrisDesign: nyrisReducer,
|
|
75
|
-
search: searchReducer
|
|
76
|
-
});
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
const store = createStore(rootReducer, composeWithDevTools(
|
|
80
|
-
applyMiddleware(epicMiddleware)
|
|
81
|
-
));
|
|
82
|
-
epicMiddleware.run(rootEpic);
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
history.listen((location, action) => {
|
|
87
|
-
console.log('history', location, action)
|
|
88
|
-
if (action === 'PUSH') {
|
|
89
|
-
return;
|
|
90
|
-
}
|
|
91
|
-
switch (location.pathname) {
|
|
92
|
-
case '/results':
|
|
93
|
-
store.dispatch({type: 'SHOW_RESULTS'});
|
|
94
|
-
break;
|
|
95
|
-
case '/':
|
|
96
|
-
store.dispatch({type: 'SHOW_START'});
|
|
97
|
-
break;
|
|
98
|
-
}
|
|
99
|
-
});
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
// Here comes the really dirty code of the composition-root
|
|
103
|
-
|
|
104
|
-
const mapStateToProps = (state: AppState) => ({
|
|
105
|
-
showPart: state.nyrisDesign.showPart,
|
|
106
|
-
search: {
|
|
107
|
-
results: state.search.results,
|
|
108
|
-
categoryPredictions: state.search.categoryPredictions,
|
|
109
|
-
codes: state.search.codes,
|
|
110
|
-
filterOptions: state.search.filterOptions,
|
|
111
|
-
previewSelection: state.search.selectedRegion,
|
|
112
|
-
regions: state.search.regions,
|
|
113
|
-
duration: state.search.duration,
|
|
114
|
-
requestId: state.search.requestId
|
|
115
|
-
},
|
|
116
|
-
settings: state.settings,
|
|
117
|
-
previewImage: state.search.requestImage,
|
|
118
|
-
loading: state.search.fetchingRegions || state.search.fetchingResults,
|
|
119
|
-
feedbackState: state.nyrisDesign.feedbackState,
|
|
120
|
-
mdSettings: state.settings.materialDesign || defaultMdSettings
|
|
121
|
-
});
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
const mapDispatchToProps = (dispatch: Dispatch<AppAction>) => {
|
|
125
|
-
return {
|
|
126
|
-
handlers: {
|
|
127
|
-
...bindActionCreators({
|
|
128
|
-
onPositiveFeedback: submitPositiveFeedback,
|
|
129
|
-
onNegativeFeedback: submitNegativeFeedback,
|
|
130
|
-
onCameraClick: showCamera,
|
|
131
|
-
onCaptureCanceled: showStart,
|
|
132
|
-
onCaptureComplete: loadCanvas,
|
|
133
|
-
onSelectFile: loadFile,
|
|
134
|
-
onExampleImageClick: loadUrl,
|
|
135
|
-
onFileDropped: loadFile,
|
|
136
|
-
onSelectionChange: selectionChanged,
|
|
137
|
-
onCloseFeedback: hideFeedback,
|
|
138
|
-
}, dispatch),
|
|
139
|
-
onImageClick: (position: number, url: string) => {
|
|
140
|
-
dispatch({ type: "RESULT_IMAGE_CLICKED", position, url});
|
|
141
|
-
dispatch(loadUrl(url));
|
|
142
|
-
},
|
|
143
|
-
onLinkClick: (position: number, url: string) => {
|
|
144
|
-
dispatch({type: 'RESULT_LINK_CLICKED', position, url});
|
|
145
|
-
if (url) {
|
|
146
|
-
window.open(url);
|
|
147
|
-
}
|
|
148
|
-
},
|
|
149
|
-
onShowStart: () => {
|
|
150
|
-
dispatch(showStart());
|
|
151
|
-
scrollTop();
|
|
152
|
-
},
|
|
153
|
-
}
|
|
154
|
-
};
|
|
155
|
-
};
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
// chrome plugin communication
|
|
159
|
-
function onMessage(evt: MessageEvent) {
|
|
160
|
-
let msg = evt.data;
|
|
161
|
-
if (msg.type === "image") {
|
|
162
|
-
store.dispatch(loadUrl(msg.image));
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
window.addEventListener('message', onMessage);
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
let useMd = settings.materialDesign !== undefined;
|
|
171
21
|
let md: MDSettings = {
|
|
172
|
-
|
|
173
|
-
|
|
22
|
+
...defaultMdSettings,
|
|
23
|
+
...settings.materialDesign,
|
|
174
24
|
};
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
25
|
+
|
|
26
|
+
let theme = createTheme({
|
|
27
|
+
typography: {
|
|
28
|
+
fontFamily: md.customFontFamily,
|
|
29
|
+
},
|
|
30
|
+
palette: {
|
|
31
|
+
primary: {
|
|
32
|
+
main: md.primaryColor,
|
|
178
33
|
},
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
secondary: {
|
|
184
|
-
main: md.secondaryColor
|
|
185
|
-
}
|
|
186
|
-
}
|
|
34
|
+
secondary: {
|
|
35
|
+
main: md.secondaryColor,
|
|
36
|
+
},
|
|
37
|
+
},
|
|
187
38
|
});
|
|
188
|
-
const SelectedApp = useMd ? AppMD : App;
|
|
189
|
-
const ConnectedApp = connect(mapStateToProps, mapDispatchToProps)(SelectedApp);
|
|
190
|
-
|
|
191
|
-
ReactDOM.render(<Provider store={store}><MuiThemeProvider
|
|
192
|
-
theme={theme}><ConnectedApp/></MuiThemeProvider></Provider>, document.getElementById('root'));
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
39
|
|
|
40
|
+
ReactDOM.render(
|
|
41
|
+
<Provider store={store}>
|
|
42
|
+
<MuiThemeProvider theme={theme}>
|
|
43
|
+
<HashRouter>
|
|
44
|
+
<Router />
|
|
45
|
+
</HashRouter>
|
|
46
|
+
</MuiThemeProvider>
|
|
47
|
+
</Provider>,
|
|
48
|
+
document.getElementById("root")
|
|
49
|
+
);
|
|
197
50
|
|
|
198
51
|
// If you want your app to work offline and load faster, you can change
|
|
199
52
|
// unregister() to register() below. Note this comes with some pitfalls.
|