@yoroi/exchange
Version:
The Exchange package of Yoroi SDK
17 lines • 544 B
JavaScript
import { ErrorBoundary, SuspenseBoundary } from '@yoroi/common';
import * as React from 'react';
import { QueryClientProvider } from 'react-query';
export const wrapper = _ref => {
let {
queryClient
} = _ref;
return _ref2 => {
let {
children
} = _ref2;
return /*#__PURE__*/React.createElement(QueryClientProvider, {
client: queryClient
}, /*#__PURE__*/React.createElement(ErrorBoundary, null, /*#__PURE__*/React.createElement(SuspenseBoundary, null, children)));
};
};
//# sourceMappingURL=wrapper.js.map