Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricbet committed Jul 12, 2023
1 parent 00aec21 commit de04917
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ describe('main layout test', () => {
handler.setCollapsed('test-view-id5', true);
});
expect(handler.isCollapsed('test-view-id5')).toBeTruthy();
expect(mockCb).toBeCalledTimes(2);
expect(mockCb).toBeCalledTimes(4);
act(() => {
handler.setBadge('20');
handler.updateTitle('gggggggg');
Expand Down
2 changes: 1 addition & 1 deletion packages/main-layout/src/browser/tabbar/renderer.view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const TabRendererBase: React.FC<{
});
tabbarService.updatePanelVisibility();
tabbarService.viewReady.resolve();
}, []);
}, [resizeHandle, components]);
React.useEffect(() => {
if (rootRef.current) {
setFullSize(rootRef.current[Layout.getDomSizeProperty(direction)]);
Expand Down

0 comments on commit de04917

Please sign in to comment.