mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 23:42:51 +08:00
i18n: imports use @grafana/i18n (#105177)
* i18n: everything should target @grafana/i18n * wip * chore: updates after PR feedback * Trigger build * Trigger build * Trigger build * chore: skip flaky tests * chore: skip flaky tests * chore: skip flaky tests * chore: skip flaky tests * chore: skip flaky tests * chore: skip flaky tests * chore: revert all flaky tests * chore: some incorrect usages of useTranslate
This commit is contained in:
@ -1,9 +1,11 @@
|
||||
import { useTranslate } from '@grafana/i18n';
|
||||
import { Button } from '@grafana/ui';
|
||||
import { t } from 'app/core/internationalization';
|
||||
|
||||
import { performInviteUserClick } from './utils';
|
||||
|
||||
export function InviteUserButton() {
|
||||
const { t } = useTranslate();
|
||||
|
||||
return (
|
||||
<Button
|
||||
icon="add-user"
|
||||
|
Reference in New Issue
Block a user