Skip to content

Commit a33d876

Browse files
committed
New Stuff:
- Added button to view stream on the streamer detail modal Changes: - StreamList.js: Added view stream button to detail modal - package.json: Bumped to 1.4.0
1 parent 2a444c2 commit a33d876

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dirty-raid",
3-
"version": "1.3.0",
3+
"version": "1.4.0",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/kfitzgerald/dirty-raid"

src/streams/StreamList.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,8 @@ function StreamList() {
301301

302302
</Modal.Body>
303303
<Modal.Footer>
304+
<Button className="viewStream" variant="secondary" href={"https://twitch.tv/"+selectedStream?.user_login} disabled={!selectedStream} target="_blank" rel="noreferrer">View Stream <i className="bi bi-box-arrow-up-right"/></Button>
305+
<div className="flex-grow-1" />
304306
{selectedStream && (
305307
isRaiding ? (
306308
<Button disabled={isRaidFetching} variant="warning" onClick={handleRaidStop}>Cancel Raid</Button>

0 commit comments

Comments
 (0)