diff --git a/packages/test-snaps/src/features/snaps/preinstalled/Preinstalled.tsx b/packages/test-snaps/src/features/snaps/preinstalled/Preinstalled.tsx index 3d7c394f85..43b3354874 100644 --- a/packages/test-snaps/src/features/snaps/preinstalled/Preinstalled.tsx +++ b/packages/test-snaps/src/features/snaps/preinstalled/Preinstalled.tsx @@ -30,6 +30,13 @@ export const Preinstalled: FunctionComponent = () => { }).catch(logError); }; + const handleSubmitTrackEvent = () => { + invokeSnap({ + snapId: PREINSTALLED_SNAP_ID, + method: 'trackEvent', + }).catch(logError); + }; + const handleStartTrace = () => { invokeSnap({ snapId: PREINSTALLED_SNAP_ID, @@ -76,6 +83,14 @@ export const Preinstalled: FunctionComponent = () => { > Track error +