Fix dashboard production builds and default list pages to 24 items.

Unblock business/customer deploys and match the 24-per-page list rule in Super Admin.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alireza Hassani
2026-08-13 15:19:46 +03:30
co-authored by Cursor
parent cc94b929e0
commit c16ec3787b
9 changed files with 15 additions and 20 deletions
@@ -17,7 +17,7 @@ import {
listInstructions,
resolveInstructionTitle,
} from '../services/instructionService'
import type { Video } from '../types/instruction'
import type { Instruction } from '../types/instruction'
import pageStyles from '../components/PageContent.module.css'
import styles from './BlogPage.module.css'
@@ -26,7 +26,7 @@ export function InstructionListPage() {
const { showToast } = useToast()
const t = useT()
const { locale } = useLocale()
const [videos, setInstructions] = useState<Video[]>([])
const [videos, setInstructions] = useState<Instruction[]>([])
const [totalInstructions, setTotalVideos] = useState(0)
const [currentPage, setCurrentPage] = useState(1)
const [isLoading, setIsLoading] = useState(true)