ErrorBoundary devleop branch에서 불필요하여 제거
This commit is contained in:
@@ -1,20 +1,13 @@
|
||||
import React, {
|
||||
useCallback,
|
||||
useEffect,
|
||||
useRef,
|
||||
} from 'react';
|
||||
import React, { useCallback, useEffect, useRef } from "react";
|
||||
|
||||
import {
|
||||
useDispatch,
|
||||
useSelector,
|
||||
} from 'react-redux';
|
||||
import { useDispatch, useSelector } from "react-redux";
|
||||
|
||||
import platform from '@enact/core/platform';
|
||||
import { Job } from '@enact/core/util';
|
||||
import ThemeDecorator from '@enact/sandstone/ThemeDecorator';
|
||||
import Spotlight from '@enact/spotlight';
|
||||
import platform from "@enact/core/platform";
|
||||
import { Job } from "@enact/core/util";
|
||||
import ThemeDecorator from "@enact/sandstone/ThemeDecorator";
|
||||
import Spotlight from "@enact/spotlight";
|
||||
|
||||
import appinfo from '../../webos-meta/appinfo.json';
|
||||
import appinfo from "../../webos-meta/appinfo.json";
|
||||
import {
|
||||
changeAppStatus,
|
||||
checkFirstLaunch,
|
||||
@@ -28,34 +21,26 @@ import {
|
||||
setDeepLink,
|
||||
setGNBMenu,
|
||||
setSecondLayerInfo,
|
||||
} from '../actions/commonActions';
|
||||
import { getShoptimeTerms } from '../actions/empActions';
|
||||
import {
|
||||
getHomeMenu,
|
||||
getHomeTerms,
|
||||
} from '../actions/homeActions';
|
||||
} from "../actions/commonActions";
|
||||
import { getShoptimeTerms } from "../actions/empActions";
|
||||
import { getHomeMenu, getHomeTerms } from "../actions/homeActions";
|
||||
import {
|
||||
getMyRecommandedKeyword,
|
||||
getMyUpcomingAlertShow,
|
||||
} from '../actions/myPageActions';
|
||||
import { pushPanel } from '../actions/panelActions';
|
||||
import NotSupportedVersion
|
||||
from '../components/NotSupportedVersion/NotSupportedVersion';
|
||||
import usePrevious from '../hooks/usePrevious';
|
||||
import { lunaTest } from '../lunaSend/lunaTest';
|
||||
import { store } from '../store/store';
|
||||
import * as Config from '../utils/Config';
|
||||
import {
|
||||
$L,
|
||||
clearLaunchParams,
|
||||
getLaunchParams,
|
||||
} from '../utils/helperMethods';
|
||||
import { SpotlightIds } from '../utils/SpotlightIds';
|
||||
import ErrorBoundary from '../views/ErrorBoundary';
|
||||
import MainView from '../views/MainView/MainView';
|
||||
import css from './App.module.less';
|
||||
import { handleBypassLink } from './bypassLinkHandler';
|
||||
import { handleDeepLink } from './deepLinkHandler';
|
||||
} from "../actions/myPageActions";
|
||||
import { pushPanel } from "../actions/panelActions";
|
||||
import NotSupportedVersion from "../components/NotSupportedVersion/NotSupportedVersion";
|
||||
import usePrevious from "../hooks/usePrevious";
|
||||
import { lunaTest } from "../lunaSend/lunaTest";
|
||||
import { store } from "../store/store";
|
||||
import * as Config from "../utils/Config";
|
||||
import { $L, clearLaunchParams, getLaunchParams } from "../utils/helperMethods";
|
||||
import { SpotlightIds } from "../utils/SpotlightIds";
|
||||
import ErrorBoundary from "../views/ErrorBoundary";
|
||||
import MainView from "../views/MainView/MainView";
|
||||
import css from "./App.module.less";
|
||||
import { handleBypassLink } from "./bypassLinkHandler";
|
||||
import { handleDeepLink } from "./deepLinkHandler";
|
||||
|
||||
let foreGroundChangeTimer = null;
|
||||
|
||||
@@ -387,10 +372,10 @@ function AppBase(props) {
|
||||
}, [dispatch]);
|
||||
|
||||
return (
|
||||
<ErrorBoundary>
|
||||
{webOSVersion === "" ? null : Number(webOSVersion) < 4 ? (
|
||||
<NotSupportedVersion />
|
||||
) : (
|
||||
// <ErrorBoundary>
|
||||
// {webOSVersion === "" ? null : Number(webOSVersion) < 4 ? (
|
||||
// <NotSupportedVersion />
|
||||
// ) : (
|
||||
<MainView
|
||||
initService={initService}
|
||||
className={
|
||||
@@ -400,8 +385,8 @@ function AppBase(props) {
|
||||
css.preventMouse
|
||||
}
|
||||
/>
|
||||
)}
|
||||
</ErrorBoundary>
|
||||
// )}
|
||||
// </ErrorBoundary>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user