Skip to content

Commit

Permalink
Merge pull request #878 from supertokens/improv/user-management-dashb…
Browse files Browse the repository at this point in the history
…oard-reference

Add references to the user management dashboard in the quickstart
  • Loading branch information
bcbogdan authored Dec 5, 2024
2 parents 60ede6c + c1ef2a0 commit afeb931
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 3 deletions.
2 changes: 2 additions & 0 deletions v2/emailpassword/quickstart/introduction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ If you want to skip straight to an example application you can choose between:
npx create-supertokens-app@latest --recipe=^{docsLinkRecipeName}
```

You can also get an example of our **User Management Dashboard** through [this page](https://dashboard.demo.supertokens.com/api/auth/dashboard).
Use the following credentials to log in: `[email protected]`, `abcd1234`.

<!-- END COPY SECTION -->

Expand Down
2 changes: 2 additions & 0 deletions v2/passwordless/quickstart/introduction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ If you want to skip straight to an example application you can choose between:
npx create-supertokens-app@latest --recipe=^{docsLinkRecipeName}
```

You can also get an example of our **User Management Dashboard** through [this page](https://dashboard.demo.supertokens.com/api/auth/dashboard).
Use the following credentials to log in: `[email protected]`, `abcd1234`.

<!-- END COPY SECTION -->

Expand Down
6 changes: 3 additions & 3 deletions v2/src/components/question/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,15 @@ const LOCAL_STORAGE_KEY_PREFIX = "supertokens-question-answer:";

export function Question(
props: PropsWithChildren<{
question: string;
question: string | (() => string);
defaultAnswer?: string;
}>,
) {
const { defaultAnswer, question, children } = props;
const { defaultAnswer, question: _question, children } = props;
const [selectedAnswer, setSelectedAnswer] = useState<string | undefined>(
defaultAnswer,
);
const question = typeof _question === "string" ? _question : _question();

const onSelectAnswer = useCallback((answer: string) => {
setSelectedAnswer(answer);
Expand Down Expand Up @@ -93,4 +94,3 @@ export function Answer(props: PropsWithChildren<AnswerProps>) {
</span>
);
}

2 changes: 2 additions & 0 deletions v2/thirdparty/quickstart/introduction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ If you want to skip straight to an example application you can choose between:
npx create-supertokens-app@latest --recipe=^{docsLinkRecipeName}
```

You can also get an example of our **User Management Dashboard** through [this page](https://dashboard.demo.supertokens.com/api/auth/dashboard).
Use the following credentials to log in: `[email protected]`, `abcd1234`.

<!-- END COPY SECTION -->

Expand Down
2 changes: 2 additions & 0 deletions v2/thirdpartyemailpassword/quickstart/introduction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ If you want to skip straight to an example application you can choose between:
npx create-supertokens-app@latest --recipe=^{docsLinkRecipeName}
```

You can also get an example of our **User Management Dashboard** through [this page](https://dashboard.demo.supertokens.com/api/auth/dashboard).
Use the following credentials to log in: `[email protected]`, `abcd1234`.

<!-- END COPY SECTION -->

Expand Down
2 changes: 2 additions & 0 deletions v2/thirdpartypasswordless/quickstart/introduction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ If you want to skip straight to an example application you can choose between:
npx create-supertokens-app@latest --recipe=^{docsLinkRecipeName}
```

You can also get an example of our **User Management Dashboard** through [this page](https://dashboard.demo.supertokens.com/api/auth/dashboard).
Use the following credentials to log in: `[email protected]`, `abcd1234`.

<!-- END COPY SECTION -->

Expand Down

0 comments on commit afeb931

Please sign in to comment.