set sentry user ID, if available and applicable

This commit is contained in:
Amruth Pillai
2022-12-03 00:15:08 +01:00
parent 716a05032d
commit 9af9a0284e
2 changed files with 28 additions and 10 deletions

View File

@ -1,17 +1,18 @@
import DateWrapper from './DateWrapper';
import FontWrapper from './FontWrapper';
import SentryWrapper from './SentryWrapper';
import ThemeWrapper from './ThemeWrapper';
const WrapperRegistry: React.FC<React.PropsWithChildren<unknown>> = ({ children }) => {
return (
<ThemeWrapper>
<FontWrapper>
<DateWrapper>
const WrapperRegistry: React.FC<React.PropsWithChildren<unknown>> = ({ children }) => (
<ThemeWrapper>
<FontWrapper>
<DateWrapper>
<SentryWrapper>
<>{children}</>
</DateWrapper>
</FontWrapper>
</ThemeWrapper>
);
};
</SentryWrapper>
</DateWrapper>
</FontWrapper>
</ThemeWrapper>
);
export default WrapperRegistry;