@steambrew/client
Version:
A support library for creating plugins with Millennium.
7 lines (6 loc) • 354 B
JavaScript
;
// import { FC, PropsWithChildren } from "react";
// import { findModuleExport } from "../webpack";
// export const ErrorBoundary = findModuleExport(
// (e) => e.InstallErrorReportingStore && e?.prototype?.Reset && e?.prototype?.componentDidCatch,
// ) as FC<PropsWithChildren>; // Actually a class but @types/react is broken lol