Browse Source

Console.log the bridgestream_data

gre-patch-1
Gaëtan Renaudeau 6 years ago
parent
commit
2f6a0a9fee
No known key found for this signature in database GPG Key ID: 7B66B85F042E5451
  1. 2
      src/components/QRCodeExporter.js

2
src/components/QRCodeExporter.js

@ -37,6 +37,8 @@ class QRCodeExporter extends PureComponent<
} }
componentDidMount() { componentDidMount() {
console.log(`BRIDGESTREAM_DATA=${JSON.stringify(this.props.chunks)}`) // eslint-disable-line
const nextFrame = ({ frame }, { chunks }) => ({ const nextFrame = ({ frame }, { chunks }) => ({
frame: (frame + 1) % chunks.length, frame: (frame + 1) % chunks.length,
}) })

Loading…
Cancel
Save