-
+
{t('CardReasons.create.title', 'Kartyň çykarylmagynyň sebäbi dörediň')}
diff --git a/src/pages/settings/card/reasonsEdit/index.tsx b/src/pages/settings/card/reasonsEdit/index.tsx
index 87241b6..3baa1ab 100644
--- a/src/pages/settings/card/reasonsEdit/index.tsx
+++ b/src/pages/settings/card/reasonsEdit/index.tsx
@@ -1,4 +1,4 @@
-import { useNavigate, useParams } from "react-router-dom";
+import { useParams } from "react-router-dom";
import { useTranslation } from "react-i18next";
import { CardReasonForm } from "@/features/cardReasons/components/reasonForm";
import { useCardReasonById } from "@/features/cardReasons/hooks/useCardReasons";
@@ -7,7 +7,6 @@ import { useCardReasonById } from "@/features/cardReasons/hooks/useCardReasons";
export function CardReasonEditPage() {
const { id } = useParams<{ id: string }>();
- const navigate = useNavigate();
const { t } = useTranslation();
const numericId = Number(id);
@@ -16,25 +15,7 @@ export function CardReasonEditPage() {
return (
-
+
{isLoading
? "..."
diff --git a/src/pages/settings/card/reasonsView/index.tsx b/src/pages/settings/card/reasonsView/index.tsx
index 09d13de..371c4ba 100644
--- a/src/pages/settings/card/reasonsView/index.tsx
+++ b/src/pages/settings/card/reasonsView/index.tsx
@@ -33,28 +33,10 @@ export function CardReasonViewPage() {
return (
- {/* Breadcrumb + actions */}
+
-
+
{isLoading
? '...'
diff --git a/src/pages/settings/loan/loanTypesView/index.tsx b/src/pages/settings/loan/loanTypesView/index.tsx
index 9cc0e27..9881c9f 100644
--- a/src/pages/settings/loan/loanTypesView/index.tsx
+++ b/src/pages/settings/loan/loanTypesView/index.tsx
@@ -69,26 +69,7 @@ export default function LoanTypeViewPage() {
// ── View ───────────────────────────────────────────────────────────────────
return (
- {/* Breadcrumb */}
-
- navigate('/resources')}
- >
- {t('nav.resources', 'Resurslar')}
-
- /
- navigate('/resources/loan-types')}
- >
- {t('loanTypes.title', 'Karz görnüşleri')}
-
- /
-
- {t('loanTypes.viewTitle', 'Karz görnüşi giňişleýin')}: {data.name[lang]}
-
-
+
{/* Page header */}
diff --git a/src/pages/settings/location/branches/index.tsx b/src/pages/settings/location/branches/index.tsx
index b540e1f..9e209d8 100644
--- a/src/pages/settings/location/branches/index.tsx
+++ b/src/pages/settings/location/branches/index.tsx
@@ -189,13 +189,7 @@ export function BranchesListPage() {
-
+
{t('branches.title', 'Şahamçalar')}
diff --git a/src/pages/settings/location/branchesCreate/index.tsx b/src/pages/settings/location/branchesCreate/index.tsx
index e96ff16..7da4f1e 100644
--- a/src/pages/settings/location/branchesCreate/index.tsx
+++ b/src/pages/settings/location/branchesCreate/index.tsx
@@ -1,33 +1,13 @@
-import { useNavigate } from 'react-router-dom'
import { useTranslation } from 'react-i18next'
import { BranchForm } from '@/features/branches/components/branchesForm'
export default function BranchCreatePage() {
- const navigate = useNavigate()
const { t } = useTranslation()
return (
-
+
{t('branches.create.title', 'Şahamça döretmek')}
diff --git a/src/pages/settings/location/branchesView/index.tsx b/src/pages/settings/location/branchesView/index.tsx
index db3a0c3..929b34e 100644
--- a/src/pages/settings/location/branchesView/index.tsx
+++ b/src/pages/settings/location/branchesView/index.tsx
@@ -32,25 +32,7 @@ export function BranchViewPage() {
-
+
{isLoading
? '...'
diff --git a/src/pages/settings/location/districts/index.tsx b/src/pages/settings/location/districts/index.tsx
index 5299480..a8c8ed1 100644
--- a/src/pages/settings/location/districts/index.tsx
+++ b/src/pages/settings/location/districts/index.tsx
@@ -157,13 +157,7 @@ export function DistrictsListPage() {
-
+
{t('districts.title', 'Etraplar')}
diff --git a/src/pages/settings/location/districtsCreate/index.tsx b/src/pages/settings/location/districtsCreate/index.tsx
index 6c839f9..0dd74d1 100644
--- a/src/pages/settings/location/districtsCreate/index.tsx
+++ b/src/pages/settings/location/districtsCreate/index.tsx
@@ -1,33 +1,13 @@
-import { useNavigate } from 'react-router-dom'
import { useTranslation } from 'react-i18next'
import { DistrictForm } from '@/features/districts/components/districtsForm'
export default function DistrictCreatePage() {
- const navigate = useNavigate()
const { t } = useTranslation()
return (
-
+
{t('districts.create.title', 'Etrap döretmek')}
diff --git a/src/pages/settings/location/districtsEdit/index.tsx b/src/pages/settings/location/districtsEdit/index.tsx
index 9aa6132..412b1a5 100644
--- a/src/pages/settings/location/districtsEdit/index.tsx
+++ b/src/pages/settings/location/districtsEdit/index.tsx
@@ -1,11 +1,10 @@
-import { useNavigate, useParams } from 'react-router-dom'
+import { useParams } from 'react-router-dom'
import { useTranslation } from 'react-i18next'
import { DistrictForm } from '@/features/districts/components/districtsForm'
import { useDistrictById } from '@/features/districts/hooks/useDistricts'
export default function DistrictEditPage() {
const { id } = useParams<{ id: string }>()
- const navigate = useNavigate()
const { t } = useTranslation()
const numericId = Number(id)
@@ -14,25 +13,7 @@ export default function DistrictEditPage() {
return (
-
+
{isLoading
diff --git a/src/pages/settings/location/districtsView/index.tsx b/src/pages/settings/location/districtsView/index.tsx
index 172463e..b3aa914 100644
--- a/src/pages/settings/location/districtsView/index.tsx
+++ b/src/pages/settings/location/districtsView/index.tsx
@@ -32,25 +32,7 @@ export function DistrictViewPage() {
-
+
{isLoading
? '...'
diff --git a/src/pages/users/allUsers/index.tsx b/src/pages/users/allUsers/index.tsx
index 7848e10..eae8b18 100644
--- a/src/pages/users/allUsers/index.tsx
+++ b/src/pages/users/allUsers/index.tsx
@@ -190,19 +190,7 @@ export default function UsersListPage() {
// ── Render ─────────────────────────────────────────────────────────────────
return (
- {/* Page header */}
-
-
-
- {t('users.title', 'Ulanyjylar')}
-
-
+
{/* Toolbar */}
- {/* Breadcrumb */}
-
+
{/* Title + actions */}
diff --git a/src/pages/users/clientsCreate/index.tsx b/src/pages/users/clientsCreate/index.tsx
index f03fa2d..d788d02 100644
--- a/src/pages/users/clientsCreate/index.tsx
+++ b/src/pages/users/clientsCreate/index.tsx
@@ -1,27 +1,12 @@
import { useTranslation } from 'react-i18next'
-import { useNavigate } from 'react-router-dom'
-import { ChevronRight } from 'lucide-react'
import { ClientForm } from '@/features/clients/components/clientForm'
export default function ClientCreatePage() {
const { t } = useTranslation()
- const navigate = useNavigate()
return (
- {/* Breadcrumb */}
-
+
{/* Page heading */}
diff --git a/src/pages/users/clientsView/index.tsx b/src/pages/users/clientsView/index.tsx
index 7752443..f86b145 100644
--- a/src/pages/users/clientsView/index.tsx
+++ b/src/pages/users/clientsView/index.tsx
@@ -1,6 +1,6 @@
import { useParams, useNavigate } from 'react-router-dom'
import { useTranslation } from 'react-i18next'
-import { Pencil, Trash2, ChevronDown, ChevronRight } from 'lucide-react'
+import { Pencil, Trash2, ChevronDown } from 'lucide-react'
import { useState } from 'react'
import { Button } from '@/components/ui/button'
import {
@@ -143,15 +143,7 @@ export default function ClientDetailPage() {
return (
-
+
diff --git a/src/pages/users/operatorsCreate/index.tsx b/src/pages/users/operatorsCreate/index.tsx
index 15d17b4..7c5532f 100644
--- a/src/pages/users/operatorsCreate/index.tsx
+++ b/src/pages/users/operatorsCreate/index.tsx
@@ -1,30 +1,13 @@
// ─── OperatorCreatePage.tsx ───────────────────────────────────────────────────
import { useTranslation } from 'react-i18next'
-import { useNavigate } from 'react-router-dom'
-import { ChevronRight } from 'lucide-react'
import { OperatorForm } from '@/features/operators/components/operatorForms'
export default function OperatorCreatePage() {
const { t } = useTranslation()
- const navigate = useNavigate()
return (
- {/* Breadcrumb */}
-
-
{/* Page heading */}
{t('operators.createTitle', 'Operator döredin')}