< Summary

Information
Class: locations-layout.tsx
Assembly: app.components.locations
File(s): /home/runner/work/ClutterStock/ClutterStock/frontend/app/components/locations/locations-layout.tsx
Tag: 58_25416222083
Line coverage
0%
Covered lines: 0
Uncovered lines: 2
Coverable lines: 2
Total lines: 15
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

File(s)

/home/runner/work/ClutterStock/ClutterStock/frontend/app/components/locations/locations-layout.tsx

#LineLine coverage
 1import { Link, Outlet } from "react-router";
 2
 03export function LocationsLayout() {
 04  return (
 5    <main className="page-main">
 6      <div className="page-header">
 7        <h1 className="page-title">Locations</h1>
 8        <Link to="/locations/new" className="btn-primary">
 9          + Add location
 10        </Link>
 11      </div>
 12      <Outlet />
 13    </main>
 14  );
 15}

Methods/Properties

LocationsLayout()V