diff options
Diffstat (limited to 'src/components/Updater.tsx')
-rw-r--r-- | src/components/Updater.tsx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/components/Updater.tsx b/src/components/Updater.tsx index 31060b4..153d5e5 100644 --- a/src/components/Updater.tsx +++ b/src/components/Updater.tsx @@ -158,7 +158,7 @@ function Newer(props: CommonProps) { ); } -export default ErrorBoundary.wrap(function Updater() { +function Updater() { const [repo, err, repoPending] = useAwaiter(getRepo, "Loading..."); React.useEffect(() => { @@ -188,4 +188,6 @@ export default ErrorBoundary.wrap(function Updater() { {isNewer ? <Newer {...commonProps} /> : <Updatable {...commonProps} />} </Forms.FormSection > ); -}); +} + +export default IS_WEB ? null : ErrorBoundary.wrap(Updater); |