From 448ef99ae2f5d37c39b2ae3e7d5e93ccb732a815 Mon Sep 17 00:00:00 2001 From: Erik Sachse Date: Thu, 9 Nov 2023 16:50:07 +0100 Subject: [PATCH] Fix typo asterois -> asteroids --- packages/react/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react/README.md b/packages/react/README.md index 24943df2..2252246d 100644 --- a/packages/react/README.md +++ b/packages/react/README.md @@ -139,7 +139,7 @@ The `` component will render a list of entities. It takes a `in` prop import { ECS } from "./state" import { AsteroidModel } from "./models" -const asterois = ECS.world.with("isAsteroid") +const asteroids = ECS.world.with("isAsteroid") const Asteroids = () => ( @@ -156,7 +156,7 @@ When used this way, it will automatically re-render every time the list of entit import { ECS } from "./state" import { AsteroidModel } from "./models" -const asterois = ECS.world.with("isAsteroid") +const asteroids = ECS.world.with("isAsteroid") /* Note the .entities property! */ const Asteroids = () => (