Skip to content

Commit

Permalink
refactored code
Browse files Browse the repository at this point in the history
  • Loading branch information
svankayalapati-atlassian committed Sep 9, 2024
1 parent 03690b6 commit 5a709db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,11 @@ export const SelectProjectsScreen = ({
</Button>
) : null}
<ButtonWrapper>
<Button onClick={() => handleNavigateToConnectedPage()}>Cancel</Button>
<Button onClick={handleNavigateToConnectedPage}>Cancel</Button>
<LoadingButton
appearance='primary'
isDisabled={selectedProjects.length === 0}
onClick={() => handleNavigateToScreen()}
onClick={handleNavigateToScreen}
isLoading={isProjectsImporting}
>
Select
Expand Down
2 changes: 1 addition & 1 deletion ui/src/components/SelectImportPage/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const ButtonWrapper = styled.div`
display: flex;
justify-content: flex-end;
align-items: center;
margin: ${gridSize() * 4}px 0px;
margin: ${gridSize() * -2}px 0px;
> button:not(:first-child) {
margin-left: ${gridSize()}px;
}
Expand Down

0 comments on commit 5a709db

Please sign in to comment.