Merge pull request #1934 from up9cloud/master

Fix typo (rootDissapear should be rootDisappear)
This commit is contained in:
Umputun
2025-06-06 10:46:29 -05:00
committed by GitHub
2 changed files with 3 additions and 3 deletions
@@ -164,7 +164,7 @@ describe('<Profile />', () => {
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 }));
+2 -2
View File
@@ -58,7 +58,7 @@ function animateDisappear(): Promise<void> {
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',
},