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

TypeError: props.i18n is not a function (from CopyLinkButton(props)) #3233

Closed
mjau-mjau opened this issue Oct 1, 2021 · 0 comments · Fixed by #3235
Closed

TypeError: props.i18n is not a function (from CopyLinkButton(props)) #3233

mjau-mjau opened this issue Oct 1, 2021 · 0 comments · Fixed by #3235
Assignees
Labels

Comments

@mjau-mjau
Copy link

Hi. I'm using the CDN bundle, and when using showLinkToFileUploadResult: true, I get TypeError: props.i18n is not a function.
console

Seems to stem from CopyLinkButton() function.

function CopyLinkButton(props) {
...
  "aria-label": props.i18n('copyLink'),
   title: props.i18n('copyLink'),

Is this a bug or am I missing something? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants