diff --git a/src/core/build/paths.ts b/src/core/build/paths.ts
index 8b67fe936..680008813 100644
--- a/src/core/build/paths.ts
+++ b/src/core/build/paths.ts
@@ -28,7 +28,7 @@ export default {
appEmbedIndex: resolveSrc("core/client/embed/index.ts"),
appEmbedHTML: resolveSrc("core/client/embed/index.html"),
- appAuthIndex: resolveSrc("core/client/auth/index.ts"),
+ appAuthIndex: resolveSrc("core/client/auth/index.tsx"),
appAuthHTML: resolveSrc("core/client/auth/index.html"),
appDistStatic: resolveApp("dist/static"),
diff --git a/src/core/client/auth/components/App.tsx b/src/core/client/auth/components/App.tsx
index fab2115dd..3e8c91e42 100644
--- a/src/core/client/auth/components/App.tsx
+++ b/src/core/client/auth/components/App.tsx
@@ -4,7 +4,7 @@ import { StatelessComponent } from "react";
import { Flex } from "talk-ui/components";
const App: StatelessComponent = () => {
- return Holaaaaa;
+ return Auth;
};
export default App;
diff --git a/src/core/client/auth/index.tsx b/src/core/client/auth/index.tsx
index a5aad64ba..12bb6f8ea 100644
--- a/src/core/client/auth/index.tsx
+++ b/src/core/client/auth/index.tsx
@@ -3,23 +3,15 @@ import ReactDOM from "react-dom";
import {
createContext,
- TalkContext,
TalkContextProvider,
} from "talk-framework/lib/bootstrap";
import AppContainer from "./containers/AppContainer";
-import { initLocalState } from "./local";
import localesData from "./locales";
-// This is called when the context is first initialized.
-async function init(context: TalkContext) {
- await initLocalState(context.relayEnvironment);
-}
-
async function main() {
// Bootstrap our context.
const context = await createContext({
- init,
localesData,
userLocales: navigator.languages,
});