refactor: rewrite and expand mock data into modular files
This commit is contained in:
@@ -6,7 +6,7 @@ import { Badge } from "@/components/ui/badge"
|
||||
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"
|
||||
import { Separator } from "@/components/ui/separator"
|
||||
import { statusLabels } from "@/lib/constants"
|
||||
import { mockChatSessions, mockOrders, mockReviews } from "@/lib/mock-data"
|
||||
import { mockChatSessions, mockOrders, mockReviews } from "@/lib/mock"
|
||||
import type { OrderStatus } from "@/lib/types"
|
||||
|
||||
const statusSteps: OrderStatus[] = [
|
||||
|
||||
@@ -11,7 +11,7 @@ import { Input } from "@/components/ui/input"
|
||||
import { Label } from "@/components/ui/label"
|
||||
import { Separator } from "@/components/ui/separator"
|
||||
import { Textarea } from "@/components/ui/textarea"
|
||||
import { mockOrders, mockPlayers, mockServices, walletBalance } from "@/lib/mock-data"
|
||||
import { mockOrders, mockPlayers, mockServices, walletBalance } from "@/lib/mock"
|
||||
import { useRequireAuth } from "@/lib/use-require-auth"
|
||||
|
||||
function showFeedback(message: string) {
|
||||
|
||||
Reference in New Issue
Block a user