Преглед изворни кода

fix(rn,build) fix use of "bare" relative path

The Metro bundler gets confused and the result of such import statements
is `undefined`.
master
Saúl Ibarra Corretgé пре 3 година
родитељ
комит
8f1a7d52d2

+ 2
- 2
react/features/base/participants/middleware.js Прегледај датотеку

@@ -46,6 +46,7 @@ import {
46 46
     localParticipantLeft,
47 47
     participantLeft,
48 48
     participantUpdated,
49
+    raiseHand,
49 50
     raiseHandUpdateQueue,
50 51
     setLoadableAvatarUrl
51 52
 } from './actions';
@@ -64,12 +65,11 @@ import {
64 65
     getParticipantDisplayName,
65 66
     getRaiseHandsQueue,
66 67
     getRemoteParticipants,
68
+    hasRaisedHand,
67 69
     isLocalParticipantModerator
68 70
 } from './functions';
69 71
 import { PARTICIPANT_JOINED_FILE, PARTICIPANT_LEFT_FILE } from './sounds';
70 72
 
71
-import { hasRaisedHand, raiseHand } from '.';
72
-
73 73
 declare var APP: Object;
74 74
 
75 75
 /**

+ 2
- 2
react/features/polls/components/native/PollItem.js Прегледај датотеку

@@ -6,10 +6,10 @@ import { useSelector } from 'react-redux';
6 6
 
7 7
 import { shouldShowResults } from '../../functions';
8 8
 
9
+import PollAnswer from './PollAnswer';
10
+import PollResults from './PollResults';
9 11
 import { chatStyles } from './styles';
10 12
 
11
-import { PollAnswer, PollResults } from '.';
12
-
13 13
 type Props = {
14 14
 
15 15
     /**

+ 1
- 3
react/features/polls/components/native/PollsList.js Прегледај датотеку

@@ -4,13 +4,11 @@ import { FlatList } from 'react-native';
4 4
 import { Text } from 'react-native-paper';
5 5
 import { useSelector } from 'react-redux';
6 6
 
7
+import PollItem from './PollItem';
7 8
 import { chatStyles } from './styles';
8 9
 
9
-import { PollItem } from '.';
10
-
11 10
 
12 11
 const PollsList = () => {
13
-
14 12
     const polls = useSelector(state => state['features/polls'].polls);
15 13
     const { t } = useTranslation();
16 14
     const listPolls = Object.keys(polls);

+ 1
- 1
react/features/polls/components/web/PollsList.js Прегледај датотеку

@@ -6,7 +6,7 @@ import { useSelector } from 'react-redux';
6 6
 
7 7
 import { Icon, IconChatUnread } from '../../../base/icons';
8 8
 
9
-import { PollItem } from '.';
9
+import PollItem from './PollItem';
10 10
 
11 11
 const PollsList = () => {
12 12
     const { t } = useTranslation();

+ 1
- 2
react/features/polls/components/web/PollsPane.js Прегледај датотеку

@@ -5,12 +5,11 @@ import React from 'react';
5 5
 import AbstractPollsPane from '../AbstractPollsPane';
6 6
 import type { AbstractProps } from '../AbstractPollsPane';
7 7
 
8
+import PollCreate from './PollCreate';
8 9
 import PollsList from './PollsList';
9 10
 
10
-import { PollCreate } from '.';
11 11
 
12 12
 const PollsPane = (props: AbstractProps) => {
13
-
14 13
     const { createMode, onCreate, setCreateMode, t } = props;
15 14
 
16 15
     return createMode

+ 1
- 1
react/features/video-menu/components/AbstractGrantModeratorButton.js Прегледај датотеку

@@ -10,7 +10,7 @@ import {
10 10
 } from '../../base/participants';
11 11
 import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox/components';
12 12
 
13
-import { GrantModeratorDialog } from '.';
13
+import { GrantModeratorDialog } from './';
14 14
 
15 15
 export type Props = AbstractButtonProps & {
16 16
 

+ 1
- 1
react/features/video-menu/components/AbstractKickButton.js Прегледај датотеку

@@ -4,7 +4,7 @@ import { openDialog } from '../../base/dialog';
4 4
 import { IconCloseCircle } from '../../base/icons';
5 5
 import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox/components';
6 6
 
7
-import { KickRemoteParticipantDialog } from '.';
7
+import { KickRemoteParticipantDialog } from './';
8 8
 
9 9
 export type Props = AbstractButtonProps & {
10 10
 

+ 1
- 1
react/features/video-menu/components/AbstractMuteEveryoneElseButton.js Прегледај датотеку

@@ -5,7 +5,7 @@ import { openDialog } from '../../base/dialog';
5 5
 import { IconMuteEveryone } from '../../base/icons';
6 6
 import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox/components';
7 7
 
8
-import { MuteEveryoneDialog } from '.';
8
+import { MuteEveryoneDialog } from './';
9 9
 
10 10
 export type Props = AbstractButtonProps & {
11 11
 

+ 1
- 1
react/features/video-menu/components/AbstractMuteEveryoneElsesVideoButton.js Прегледај датотеку

@@ -5,7 +5,7 @@ import { openDialog } from '../../base/dialog';
5 5
 import { IconMuteVideoEveryone } from '../../base/icons';
6 6
 import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox/components';
7 7
 
8
-import { MuteEveryonesVideoDialog } from '.';
8
+import { MuteEveryonesVideoDialog } from './';
9 9
 
10 10
 export type Props = AbstractButtonProps & {
11 11
 

+ 1
- 1
react/features/video-menu/components/AbstractMuteVideoButton.js Прегледај датотеку

@@ -10,7 +10,7 @@ import { MEDIA_TYPE } from '../../base/media';
10 10
 import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox/components';
11 11
 import { isRemoteTrackMuted } from '../../base/tracks';
12 12
 
13
-import { MuteRemoteParticipantsVideoDialog } from '.';
13
+import { MuteRemoteParticipantsVideoDialog } from './';
14 14
 
15 15
 export type Props = AbstractButtonProps & {
16 16
 

Loading…
Откажи
Сачувај