Merge pull request #1934 from up9cloud/master
Fix typo (rootDissapear should be rootDisappear)
This commit is contained in:
@@ -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 }));
|
||||
|
||||
@@ -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',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user