diff --git a/src/features/force-update-modal/force-update-modal.tsx b/src/features/force-update-modal/force-update-modal.tsx index c3596a3e..22269587 100644 --- a/src/features/force-update-modal/force-update-modal.tsx +++ b/src/features/force-update-modal/force-update-modal.tsx @@ -1,23 +1,37 @@ -import React from 'react'; +import React, { useEffect, useState } from 'react'; import { Button, Modal, Text, View } from 'react-native'; -import { translate } from 'localization/hooks'; +import { isUpdated, openStore } from 'hooks/force-update'; -import { isUpdated, openStore } from 'network/services/force-update'; +import { translate } from 'localization/hooks'; import { styles } from './force-update-modal.styles'; interface ForceUpdateProps {} -const ForceUpdateModal = ({}: ForceUpdateProps) => ( - - - - {translate('alert.update')} -