From af323537903728a899cc38737a344a850519655f Mon Sep 17 00:00:00 2001 From: cha0s Date: Sun, 1 May 2022 10:17:22 -0500 Subject: [PATCH] refactor: initialFollow --- packages/app/src/hooks/use-self-entity.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/app/src/hooks/use-self-entity.js b/packages/app/src/hooks/use-self-entity.js index 42fdf2e..2fa5665 100644 --- a/packages/app/src/hooks/use-self-entity.js +++ b/packages/app/src/hooks/use-self-entity.js @@ -23,9 +23,7 @@ export default () => { }; const augmentSelfEntity = async (entity) => { if (entity) { - await entity.addTraits({ - Followed: {}, - }); + entity.initialFollow(); entity.on('destroying', onDestroying); } flecks.set('$humus/app.selfEntity', entity);