Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix extraction locales: "Sign In" on a main page #2443

Merged
merged 3 commits into from Apr 10, 2023

Conversation

vivekpabari
Copy link
Contributor

Fixed extraction locales: "Sign In" on Main Page Header

@@ -21,7 +21,7 @@ function AccountButton() {
<Link href="/auth/signin" aria-label="Home">
<Flex alignItems="center">
<Button variant="outline" leftIcon={<User size={"20"} />}>
Sign in
{label}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it does not need to be a parameter, since the button only does login.

@@ -13,6 +13,7 @@ import { UserMenu } from "./UserMenu";
import { UserScore } from "./UserScore";

function AccountButton() {
const { t } = useTranslation();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok thank you, one final comment, could you please explicitly use the common namespace?

const { t } = useTranslation("common");

This will help with typechecking

@AbdBarho AbdBarho merged commit 4c9ccd8 into LAION-AI:main Apr 10, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants