diff --git a/components/buttons/GithubButton.js b/components/buttons/GithubButton.js index 31f8cf4322b..1375efd9bf9 100644 --- a/components/buttons/GithubButton.js +++ b/components/buttons/GithubButton.js @@ -1,17 +1,21 @@ import Button from './Button' import IconGithub from '../icons/Github' +import { useTranslation } from '../../lib/i18n' export default function GithubButton({ - text = 'View on Github', + text = 'githubButton', href = 'https://github.com/asyncapi', target = '_blank', iconPosition = 'left', className, inNav = "false" }) { + + const { t } = useTranslation("common"); + return (