diff --git a/frontend/apps/remark42/app/components/profile/profile.spec.tsx b/frontend/apps/remark42/app/components/profile/profile.spec.tsx index 0cb3a1b5..b888bb87 100644 --- a/frontend/apps/remark42/app/components/profile/profile.spec.tsx +++ b/frontend/apps/remark42/app/components/profile/profile.spec.tsx @@ -164,7 +164,7 @@ describe('', () => { expect(container.querySelector('profile-footer')).not.toBeInTheDocument(); }); - it('load more button should dissapear if there no more comments to fetch', async () => { + it('load more button should disappear if there no more comments to fetch', async () => { jest .spyOn(api, 'getUserComments') .mockImplementation(async () => ({ comments: new Array(10).fill(commentStub), count: 15 })); diff --git a/frontend/apps/remark42/app/profile.ts b/frontend/apps/remark42/app/profile.ts index ccdd8fc8..15adc4c1 100644 --- a/frontend/apps/remark42/app/profile.ts +++ b/frontend/apps/remark42/app/profile.ts @@ -58,7 +58,7 @@ function animateDisappear(): Promise { if (!root || !iframe) { return; } - setStyles(root, styles.rootDissapear); + setStyles(root, styles.rootDisappear); root.addEventListener('transitionend', handleTransitionEnd); }); }); @@ -111,7 +111,7 @@ const styles = { rootAppear: { opacity: '1', }, - rootDissapear: { + rootDisappear: { opacity: '0', transition: 'opacity 0.3s ease-out', },