We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b40a27 commit 7380e94Copy full SHA for 7380e94
apps/learneth/src/App.tsx
@@ -51,7 +51,9 @@ function App(): JSX.Element {
51
callback: () => {
52
// @ts-ignore
53
remixClient.call('locale', 'currentLocale').then((locale: any) => {
54
- loadRepo(locale)
+ if (!(window as any).startTutorialCalled) {
55
+ loadRepo(locale)
56
+ }
57
})
58
59
remixClient.on('locale', 'localeChanged', (locale: any) => {
apps/learneth/src/remix-client.ts
@@ -10,6 +10,7 @@ class RemixClient extends PluginClient {
10
}
11
12
startTutorial(name: any, branch: any, id: any): void {
13
+ (window as any).startTutorialCalled = true
14
void router.navigate('/home')
15
store.dispatch({
16
type: 'workshop/loadRepo',
0 commit comments