Skip to content

Commit

Permalink
Watch stream button default on enter press.
Browse files Browse the repository at this point in the history
  • Loading branch information
s3gfaultx authored and Sean-Der committed May 24, 2024
1 parent c9477b7 commit 84d00d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/components/selection/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function Selection(props) {
<input className='appearance-none border w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline bg-gray-700 border-gray-700 text-white rounded shadow-md placeholder-gray-200' id='streamKey' type='text' placeholder='Stream Key' onChange={onStreamKeyChange} autoFocus />
</div>
<div className='flex'>
<button className='py-2 px-4 bg-blue-500 text-white font-semibold rounded-lg shadow-md hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75' type='button' onClick={onWatchStreamClick}>
<button className='py-2 px-4 bg-blue-500 text-white font-semibold rounded-lg shadow-md hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75' type='submit' onClick={onWatchStreamClick}>
Watch Stream
</button>

Expand Down

0 comments on commit 84d00d8

Please sign in to comment.