All files / src/pages/admin AdminStoresPage.tsx

50% Statements 1/2
100% Branches 0/0
0% Functions 0/1
50% Lines 1/2

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21          1x                              
// src/pages/admin/AdminStoresPage.tsx
import React from 'react';
import { Link } from 'react-router-dom';
import { AdminStoreManager } from './components/AdminStoreManager';
 
export const AdminStoresPage: React.FC = () => {
  return (
    <div className="max-w-6xl mx-auto py-8 px-4">
      <div className="mb-8">
        <Link to="/admin" className="text-brand-primary hover:underline">
          &larr; Back to Admin Dashboard
        </Link>
        <h1 className="text-3xl font-bold text-gray-800 dark:text-white mt-2">Store Management</h1>
        <p className="text-gray-500 dark:text-gray-400">Manage stores and their locations.</p>
      </div>
 
      <AdminStoreManager />
    </div>
  );
};