mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-17 02:09:49 +00:00
place error boundaries closer to the source
This commit is contained in:
parent
88c774339d
commit
ea96999377
6 changed files with 31 additions and 21 deletions
|
@ -1,6 +1,5 @@
|
|||
import classNames from "classnames";
|
||||
|
||||
import ErrorBoundary from "components/errorboundry";
|
||||
import Item from "components/services/item";
|
||||
|
||||
const columnMap = [
|
||||
|
@ -24,7 +23,7 @@ export default function List({ services, layout }) {
|
|||
)}
|
||||
>
|
||||
{services.map((service) => (
|
||||
<ErrorBoundary key={service.name}><Item key={service.name} service={service} /></ErrorBoundary>
|
||||
<Item key={service.name} service={service} />
|
||||
))}
|
||||
</ul>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue