
3-3 강의에서 MainPage.js 복사 후 붙여놓기를 하였는데, 앱을 켰을 때 오류가 발생하였습니다.
혹시 다른 곳에서 문제가 발생하였나 해서 붙여놓기 전 으로 돌려봤더니 아무런 오류없이 실행됩니다.

TypeError: undefined is not an object (evaluating 'tip.map')
This error is located at:
in MainPage (created by App)
in App (created by ExpoRoot)
in ExpoRoot
in RCTView (created by View)
in View (created by AppContainer)
in DevAppContainer (created by AppContainer)
in RCTView (created by View)
in View (created by AppContainer)
in AppContainer
in main(RootComponent)
at http://np-nzw.gaemee.sparta-honeytip-hyuk.exp.direct/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&hot=false&strict=false&minify=false:22699:19 in reportException
at http://np-nzw.gaemee.sparta-honeytip-hyuk.exp.direct/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&hot=false&strict=false&minify=false:22730:21 in handleException
at http://np-nzw.gaemee.sparta-honeytip-hyuk.exp.direct/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&hot=false&strict=false&minify=false:58987:45 in showErrorDialog
at http://np-nzw.gaemee.sparta-honeytip-hyuk.exp.direct/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&hot=false&strict=false&minify=false:12136:40 in logCapturedError
at http://np-nzw.gaemee.sparta-honeytip-hyuk.exp.direct/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&hot=false&strict=false&minify=false:8190:21 in callCallback
at http://np-nzw.gaemee.sparta-honeytip-hyuk.exp.direct/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&hot=false&strict=false&minify=false:8212:26 in commitUpdateQueue
at http://np-nzw.gaemee.sparta-honeytip-hyuk.exp.direct/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&hot=false&strict=false&minify=false:15299:35 in commitLayoutEffectOnFiber
at http://np-nzw.gaemee.sparta-honeytip-hyuk.exp.direct/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&hot=false&strict=false&minify=false:16239:39 in commitLayoutMountEffects_complete
at http://np-nzw.gaemee.sparta-honeytip-hyuk.exp.direct/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&hot=false&strict=false&minify=false:16225:45 in commitLayoutEffects_begin
at http://np-nzw.gaemee.sparta-honeytip-hyuk.exp.direct/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&hot=false&strict=false&minify=false:16209:33 in commitLayoutEffects
at http://np-nzw.gaemee.sparta-honeytip-hyuk.exp.direct/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&hot=false&strict=false&minify=false:17631:29 in commitRootImpl
at http://np-nzw.gaemee.sparta-honeytip-hyuk.exp.direct/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&hot=false&strict=false&minify=false:17141:18 in performSyncWorkOnRoot
at http://np-nzw.gaemee.sparta-honeytip-hyuk.exp.direct/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&hot=false&strict=false&minify=false:7088:35 in flushSyncCallbacks
at http://np-nzw.gaemee.sparta-honeytip-hyuk.exp.direct/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&hot=false&strict=false&minify=false:7069:28 in flushSyncCallbacksOnlyInLegacyMode
at http://np-nzw.gaemee.sparta-honeytip-hyuk.exp.direct/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&hot=false&strict=false&minify=false:16699:46 in scheduleUpdateOnFiber
at http://np-nzw.gaemee.sparta-honeytip-hyuk.exp.direct/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&hot=false&strict=false&minify=false:19145:40 in updateContainer
at http://np-nzw.gaemee.sparta-honeytip-hyuk.exp.direct/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&hot=false&strict=false&minify=false:86990:77 in renderApplication
at http://np-nzw.gaemee.sparta-honeytip-hyuk.exp.direct/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&hot=false&strict=false&minify=false:86588:27 in runApplication
at http://np-nzw.gaemee.sparta-honeytip-hyuk.exp.direct/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&hot=false&strict=false&minify=false:24039:35 in __callFunction
at http://np-nzw.gaemee.sparta-honeytip-hyuk.exp.direct/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&hot=false&strict=false&minify=false:23766:20 in callFunctionReturnFlushedQueue
TypeError: undefined is not an object (evaluating 'tip.map')
This error is located at:
in MainPage (created by App)
in App (created by ExpoRoot)
in ExpoRoot
in RCTView (created by View)
in View (created by AppContainer)
in DevAppContainer (created by AppContainer)
in RCTView (created by View)
in View (created by AppContainer)
in AppContainer
in main(RootComponent)
at node_modules\expo\build\environment\react-native-logs.fx.js:null in error
at node_modules\react-native\Libraries\Core\ExceptionsManager.js:null in reportException
at node_modules\react-native\Libraries\Core\ExceptionsManager.js:null in handleException
at node_modules\react-native\Libraries\Core\setUpErrorHandling.js:null in handleError
at node_modules\expo\build\errors\ExpoErrorManager.js:null in errorHandler
at node_modules\expo\build\errors\ExpoErrorManager.js:null in <anonymous>
at node_modules\expo-error-recovery\build\ErrorRecovery.fx.js:null in ErrorUtils.setGlobalHandler$argument_0
at node_modules\@babel\runtime\helpers\asyncToGenerator.js:null in asyncGeneratorStep
at node_modules\@babel\runtime\helpers\asyncToGenerator.js:null in _next
at node_modules\react-native\node_modules\promise\setimmediate\core.js:null in tryCallOne
at node_modules\react-native\node_modules\promise\setimmediate\core.js:null in setImmediate$argument_0
at node_modules\react-native\Libraries\Core\Timers\JSTimers.js:null in _allocateCallback$argument_0
at node_modules\react-native\Libraries\Core\Timers\JSTimers.js:null in _callTimer
at node_modules\react-native\Libraries\Core\Timers\JSTimers.js:null in _callReactNativeMicrotasksPass
at node_modules\react-native\Libraries\Core\Timers\JSTimers.js:null in callReactNativeMicrotasks
at node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:null in __callReactNativeMicrotasks
at node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:null in __guard$argument_0
at node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:null in __guard
at node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:null in flushedQueue
