Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

BlankPage.native.js 816B

12345678910111213141516171819202122232425262728293031323334
  1. // @flow
  2. import React, { useEffect } from 'react';
  3. import { useTranslation } from 'react-i18next';
  4. import { Text, View } from 'react-native';
  5. import { useDispatch } from 'react-redux';
  6. import { readyToClose } from '../../mobile/external-api/actions';
  7. import styles from './styles';
  8. const BlankPage = () => {
  9. const dispatch = useDispatch();
  10. const { t } = useTranslation();
  11. /**
  12. * Destroys the local tracks (if any) since no media is desired when this
  13. * component is rendered.
  14. */
  15. useEffect(() => {
  16. dispatch(readyToClose());
  17. }, []);
  18. return (
  19. <View style = { styles.blankPageWrapper }>
  20. <Text style = { styles.blankPageText }>
  21. { t('blankPage.meetingEnded') }
  22. </Text>
  23. </View>
  24. );
  25. };
  26. export default BlankPage;