refactor: enforce semantic values and numeric lint rules
This commit is contained in:
@@ -3,6 +3,8 @@ import type { FC } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { LoadingSkeleton } from "@/shared/ui";
|
||||
|
||||
const skeletonRowIds = ["first", "second", "third", "fourth"];
|
||||
|
||||
const AccountOperationsPageLoading: FC = () => {
|
||||
const { t } = useTranslation();
|
||||
|
||||
@@ -19,8 +21,8 @@ const AccountOperationsPageLoading: FC = () => {
|
||||
<Skeleton height={36} width={110} radius="sm" />
|
||||
</Group>
|
||||
<Stack gap="xs">
|
||||
{[0, 1, 2, 3].map((index) => (
|
||||
<Skeleton key={index} height={64} radius="md" />
|
||||
{skeletonRowIds.map((id) => (
|
||||
<Skeleton key={id} height={64} radius="md" />
|
||||
))}
|
||||
</Stack>
|
||||
</LoadingSkeleton>
|
||||
|
||||
Reference in New Issue
Block a user