Fix eslint

Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-02-17 19:16:43 +04:00
parent 0e8f65c553
commit b49747f3ba
2 changed files with 2 additions and 6 deletions

View File

@@ -1,4 +1,3 @@
import { useTranslate } from "@probo/i18n";
import { Layout, Skeleton } from "@probo/ui";
import { Suspense } from "react";
import { graphql, type PreloadedQuery, usePreloadedQuery } from "react-relay";
@@ -43,8 +42,6 @@ export function ViewerMembershipLayout(props: {
}) {
const { hideSidebar = false, queryRef } = props;
const { __ } = useTranslate();
const { organization, viewer }
= usePreloadedQuery<ViewerMembershipLayoutQuery>(
viewerMembershipLayoutQuery,

View File

@@ -3,7 +3,6 @@ import { useTranslate } from "@probo/i18n";
import {
ActionDropdown,
Badge,
Button,
DropdownItem,
IconMail,
IconTrashCan,
@@ -106,7 +105,7 @@ export function PeopleListItem(props: {
const { fKey, connectionId } = props;
const organizationId = useOrganizationId();
const { __, dateTimeFormat } = useTranslate();
const { __ } = useTranslate();
const confirm = useConfirm();
const { role } = use(CurrentUser);
@@ -117,7 +116,7 @@ export function PeopleListItem(props: {
const isInactive = profile.state === "INACTIVE";
const [inviteUser, isInviting]
const [inviteUser]
= useMutationWithToasts<PeopleListItem_inviteMutation>(inviteUserMutation, {
successMessage: __("Invitation sent successfully"),
errorMessage: __("Failed to send invitation"),