openreplay/frontend/app/dev/components/InternalErrorButton.js
2021-05-01 15:12:01 +05:30

16 lines
No EOL
264 B
JavaScript

function sendWrongEvent() {
const a = {};
a.a = a;
}
export default function InternalErrorButton() {
return (
<button
onClick={sendWrongEvent}
style={{background:'maroon', color: 'white'}}
>
{"Crash OpenReplay Tracker"}
</button>
);
}