feat: use eslint with prettier to format code
This commit is contained in:
committed by
mrugesh mohapatra
parent
be36915605
commit
fc8c71ad16
@@ -45,7 +45,7 @@ function ToolPanel({
|
||||
className={`tool-panel-group ${
|
||||
isMobile ? 'tool-panel-group-mobile' : ''
|
||||
}`}
|
||||
>
|
||||
>
|
||||
<Button block={true} bsStyle='primary' onClick={executeChallenge}>
|
||||
{isMobile ? 'Run' : 'Run the Tests'}
|
||||
</Button>
|
||||
@@ -54,7 +54,7 @@ function ToolPanel({
|
||||
bsStyle='primary'
|
||||
className='btn-invert'
|
||||
onClick={openResetModal}
|
||||
>
|
||||
>
|
||||
{isMobile ? 'Reset' : 'Reset All Code'}
|
||||
</Button>
|
||||
{guideUrl ? (
|
||||
@@ -64,7 +64,7 @@ function ToolPanel({
|
||||
className='btn-invert'
|
||||
href={guideUrl}
|
||||
target='_blank'
|
||||
>
|
||||
>
|
||||
{isMobile ? 'Hint' : 'Get a hint'}
|
||||
</Button>
|
||||
) : null}
|
||||
@@ -74,7 +74,7 @@ function ToolPanel({
|
||||
bsStyle='primary'
|
||||
className='btn-invert'
|
||||
onClick={openVideoModal}
|
||||
>
|
||||
>
|
||||
{isMobile ? 'Video' : 'Watch a video'}
|
||||
</Button>
|
||||
) : null}
|
||||
@@ -83,7 +83,7 @@ function ToolPanel({
|
||||
bsStyle='primary'
|
||||
className='btn-invert'
|
||||
onClick={openHelpModal}
|
||||
>
|
||||
>
|
||||
{isMobile ? 'Help' : 'Ask for help'}
|
||||
</Button>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user