mirror of
https://github.com/grafana/grafana.git
synced 2025-08-03 05:08:36 +08:00
i18n: removes useTranslate hook (#106556)
* i18n: removes useTranslate hook * chore: fix duplicate imports * chore: fix import sorting and hook dependencies
This commit is contained in:
@ -1,11 +1,9 @@
|
||||
import { useTranslate } from '@grafana/i18n';
|
||||
import { t } from '@grafana/i18n';
|
||||
import { Button } from '@grafana/ui';
|
||||
|
||||
import { performInviteUserClick } from './utils';
|
||||
|
||||
export function InviteUserButton() {
|
||||
const { t } = useTranslate();
|
||||
|
||||
return (
|
||||
<Button
|
||||
icon="add-user"
|
||||
|
Reference in New Issue
Block a user