Copy stream id to clipboard when clicked

This commit is contained in:
Max Goodhart
2020-07-05 21:52:03 -07:00
parent bb0f2a939f
commit b328ce21fe

View File

@@ -261,6 +261,7 @@ function App({ wsEndpoint }) {
return return
} }
handleSetView(availableIdx, streamId) handleSetView(availableIdx, streamId)
navigator.clipboard.writeText(streamId)
}, },
[gridCount, sharedState], [gridCount, sharedState],
) )