17 lines
301 B
JavaScript
17 lines
301 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>
|
|
);
|
|
}
|