File tree Expand file tree Collapse file tree 2 files changed +15
-23
lines changed
Expand file tree Collapse file tree 2 files changed +15
-23
lines changed Original file line number Diff line number Diff line change 11<!doctype html>
22< html lang ="en ">
3- < head >
4- < meta charset ="UTF-8 " />
5- < link
6- rel ="icon "
7- type ="image/svg+xml "
8- href ="/vite.svg "
9- />
10- < meta
11- name ="viewport "
12- content ="width=device-width, initial-scale=1.0 "
13- />
14- < title > Vite + React + TS</ title >
15- </ head >
163
17- < body >
18- < div id ="root "> </ div >
19- < script
20- type ="module "
21- src ="/src/main.tsx "
22- > </ script >
23- </ body >
24- </ html >
4+ < head >
5+ < meta charset ="UTF-8 " />
6+ < link rel ="icon " type ="image/svg+xml " href ="./favicon.ico " />
7+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
8+ < title > Corbado React Playground</ title >
9+ </ head >
10+
11+ < body >
12+ < div id ="root "> </ div >
13+ < script type ="module " src ="/src/main.tsx "> </ script >
14+ </ body >
15+
16+ </ html >
Original file line number Diff line number Diff line change @@ -11,14 +11,14 @@ function withCorbadoProvider<T extends JSX.IntrinsicAttributes>(WrappedComponent
1111 return (
1212 < div key = { `${ projectId } -${ darkMode } ` } >
1313 < CorbadoProvider
14- projectId = { projectId ?? import . meta. env . REACT_APP_CORBADO_PROJECT_ID_EmailOtp ?? '' }
14+ projectId = { projectId ?? import . meta. env . VITE_CORBADO_PROJECT_ID_EmailOtp ?? '' }
1515 customTranslations = { {
1616 fr : frenchTranslations ,
1717 en : englishTranslations ,
1818 } }
1919 darkMode = { darkMode ? 'on' : 'off' }
2020 isDevMode = { true }
21- frontendApiUrlSuffix = { import . meta. env . REACT_APP_CORBADO_FRONTEND_API_URL_SUFFIX }
21+ frontendApiUrlSuffix = { import . meta. env . VITE_CORBADO_FRONTEND_API_URL_SUFFIX }
2222 telemetry = { { debug : true } }
2323 >
2424 < WrappedComponent { ...( props as T ) } />
You can’t perform that action at this time.
0 commit comments