Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
LianaHus committed Sep 12, 2024
1 parent 7c09fd4 commit 55f5128
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1232,32 +1232,32 @@ export function Workspace() {
<div className="d-flex justify-content-between p-1">
<div className="text-uppercase text-dark pt-1 px-1">GIT</div>
{ selectedWorkspace.hasGitSubmodules?
<div className="pr-1">
{ global.fs.browser.isRequestingCloning ?
<CustomTooltip
placement="top"
tooltipId="updatingSubmodules"
tooltipClasses="text-nowrap"
tooltipText={"Updating submodules"}
>
<button style={{ height: 30, minWidth: "9rem" }} className='btn btn-sm border text-dark'>
<i className="fad fa-spinner fa-spin mr-2"></i>

<div className="pr-1">
{ global.fs.browser.isRequestingCloning ?
<CustomTooltip
placement="top"
tooltipId="updatingSubmodules"
tooltipClasses="text-nowrap"
tooltipText={"Updating submodules"}
>
<button style={{ height: 30, minWidth: "9rem" }} className='btn btn-sm border text-dark'>
<i className="fad fa-spinner fa-spin mr-2"></i>
Updating...
</button>
</CustomTooltip> :
<CustomTooltip
placement="top"
tooltipId="updateSubmodules"
tooltipClasses="text-nowrap"
tooltipText={<FormattedMessage id="filePanel.updateSubmodules" />}
>
<button style={{ height: 30, minWidth: "9rem" }} onClick={updateSubModules} data-id='updatesubmodules' className={`btn btn-sm border ${highlightUpdateSubmodules ? 'text-warning' : 'text-dark'}`}>
</button>
</CustomTooltip> :
<CustomTooltip
placement="top"
tooltipId="updateSubmodules"
tooltipClasses="text-nowrap"
tooltipText={<FormattedMessage id="filePanel.updateSubmodules" />}
>
<button style={{ height: 30, minWidth: "9rem" }} onClick={updateSubModules} data-id='updatesubmodules' className={`btn btn-sm border ${highlightUpdateSubmodules ? 'text-warning' : 'text-dark'}`}>
Update submodules
</button>
</CustomTooltip>
}
</div>
</button>
</CustomTooltip>
}
</div>
: null
}
<CustomTooltip
Expand Down

0 comments on commit 55f5128

Please sign in to comment.