Removing sample messages from App
This commit is contained in:
parent
e71f1b4cc2
commit
41676a370f
@ -12,21 +12,5 @@ exports[`App rendering 1`] = `
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
<Message
|
|
||||||
heading="Sample Error"
|
|
||||||
type="error"
|
|
||||||
>
|
|
||||||
<p>
|
|
||||||
Sample error message
|
|
||||||
</p>
|
|
||||||
</Message>
|
|
||||||
<Message
|
|
||||||
heading="Sample Warning"
|
|
||||||
type="warning"
|
|
||||||
>
|
|
||||||
<p>
|
|
||||||
Sample warning message
|
|
||||||
</p>
|
|
||||||
</Message>
|
|
||||||
</React.Fragment>
|
</React.Fragment>
|
||||||
`;
|
`;
|
||||||
|
@ -165,12 +165,6 @@ class App extends React.PureComponent {
|
|||||||
syntax={ syntax }
|
syntax={ syntax }
|
||||||
expr={ expr }
|
expr={ expr }
|
||||||
onSubmit={ this.handleSubmit }/>
|
onSubmit={ this.handleSubmit }/>
|
||||||
<Message type="error" heading="Sample Error">
|
|
||||||
<p>Sample error message</p>
|
|
||||||
</Message>
|
|
||||||
<Message type="warning" heading="Sample Warning">
|
|
||||||
<p>Sample warning message</p>
|
|
||||||
</Message>
|
|
||||||
{
|
{
|
||||||
loading && <div className={ style.loader }>
|
loading && <div className={ style.loader }>
|
||||||
<LoaderIcon />
|
<LoaderIcon />
|
||||||
|
Loading…
Reference in New Issue
Block a user