Implemented a reusable breadcrumb component #464
Annotations
9 errors
|
eslint:
app/components/Breadcrumb/Breadcrumb.tsx#L10
The variable `BreadcrumbProps` should be named `BreadcrumbProperties`. A more descriptive name will do too
|
eslint:
app/components/Breadcrumb/Breadcrumb.tsx#L25
Replace `flex·items-center·mx-2` with `mx-2·flex·items-center`
|
eslint:
app/components/Breadcrumb/BreadcrumbItem.tsx#L1
Replace `React·from·"` with `{·Link·}·from·"@remix-run/`
|
eslint:
app/components/Breadcrumb/BreadcrumbItem.tsx#L2
Replace `{·Link·}·from·"@remix-run/` with `React·from·"`
|
eslint:
app/components/Breadcrumb/BreadcrumbItem.tsx#L4
The variable `BreadcrumbItemProps` should be named `BreadcrumbItemProperties`. A more descriptive name will do too
|
eslint:
app/components/Breadcrumb/BreadcrumbProvider.tsx#L1
Replace `import·React·from·"react";⏎import·{·useLocation·}·from·"@remix-run/react";` with `import·{·useLocation·}·from·"@remix-run/react";⏎import·React·from·"react";⏎`
|
eslint:
app/components/Breadcrumb/BreadcrumbProvider.tsx#L7
arrow function is equivalent to `Boolean`. Use `Boolean` directly
|
eslint
Process completed with exit code 1.
|