openreplay/frontend/app/dev/components/InternalErrorButton.js
2022-10-27 13:59:16 +02:00

17 lines
No EOL
291 B
JavaScript

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