This commit is contained in:
smanylov
2026-02-04 15:13:17 +07:00
parent 7c757a3c59
commit 5df5e340e5
8 changed files with 14 additions and 8 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import TanstakFilesTable from '@/app/components/tanstakTable';
import TanstakFilesTable from '@/app/components/TanstakTable';
type FilesTable = {
fileType: string
+6 -1
View File
@@ -3,6 +3,7 @@
import { getUserData } from '@/app/actions/action';
import { useQuery } from '@tanstack/react-query';
import { convertBytes } from '@/app/lib/convertBytes';
import { useTranslations } from 'next-intl';
export default function PaymentTabTariffs() {
const {
@@ -17,6 +18,8 @@ export default function PaymentTabTariffs() {
}
});
const t = useTranslations('Global');
return (
<div className="tab-content">
<div className="billing-toggle" style={{ display: 'none' }}>
@@ -46,7 +49,9 @@ export default function PaymentTabTariffs() {
<div className="plan-header">
<div className="plan-icon">🚀</div>
<h3 className="plan-name">
{item.name}
{
t.has(item.name) ? t(item.name) : item.name
}
</h3>
<div className="plan-price">
{item.price}
@@ -2,7 +2,7 @@ import { convertBytes } from '@/app/lib/convertBytes';
import { toast } from 'sonner';
import { useState, ReactNode } from 'react';
import { useTranslations } from 'next-intl';
import ModalWindow from '@/app/components/modalWindow';
import ModalWindow from '@/app/components/ModalWindow';
import { IconEye, IconDownload } from '@/app/ui/icons/icons';
export function SearchedUserFilesList({ list }: { list: any }) {