mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
Using SButton for close buttons to avoid themeing.
This commit is contained in:
parent
4d5e3514d5
commit
ec8a095699
1 changed files with 3 additions and 3 deletions
|
|
@ -10,7 +10,7 @@ import {
|
|||
WROLModeMessage
|
||||
} from "../Common";
|
||||
import {
|
||||
Button as SemanticButton,
|
||||
Button as SButton,
|
||||
Confirm,
|
||||
Loader,
|
||||
Modal,
|
||||
|
|
@ -140,7 +140,7 @@ class DownloadRow extends React.Component {
|
|||
<pre style={{overflowX: 'scroll'}}>{error}</pre>
|
||||
</Modal.Content>
|
||||
<Modal.Actions>
|
||||
<SemanticButton onClick={() => this.setState({errorModalOpen: false})}>Close</SemanticButton>
|
||||
<SButton onClick={() => this.setState({errorModalOpen: false})}>Close</SButton>
|
||||
</Modal.Actions>
|
||||
</Modal>;
|
||||
|
||||
|
|
@ -306,7 +306,7 @@ class StoppableRow extends React.Component {
|
|||
<pre style={{overflowX: 'scroll'}}>{error}</pre>
|
||||
</Modal.Content>
|
||||
<Modal.Actions>
|
||||
<Button onClick={() => this.setState({errorModalOpen: false})}>Close</Button>
|
||||
<SButton onClick={() => this.setState({errorModalOpen: false})}>Close</SButton>
|
||||
</Modal.Actions>
|
||||
</Modal>
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue