Remove rule
This commit is contained in:
parent
6a0b92638c
commit
1fa4a53a48
|
@ -1,8 +1,7 @@
|
|||
import { Platform } from '../react';
|
||||
|
||||
import {
|
||||
MobileBrowserPage,
|
||||
UnsupportedBrowserPage
|
||||
MobileBrowserPage
|
||||
} from '../../unsupported-browser';
|
||||
|
||||
/**
|
||||
|
@ -33,19 +32,6 @@ const RULES = [
|
|||
if ((OS === 'android' || OS === 'ios') && !mobileBrowserPageIsShown) {
|
||||
return MobileBrowserPage;
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* This rule describes case when user opens application using web browser
|
||||
* that doesn't support WebRTC or Temasys plugin should be installed.
|
||||
*
|
||||
* @returns {UnsupportedBrowserPage|void} If the rule is satisfied
|
||||
* then we should intercept existing component by UnsupportedBrowserPage.
|
||||
*/
|
||||
() => {
|
||||
if (true) {
|
||||
return UnsupportedBrowserPage;
|
||||
}
|
||||
}
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in New Issue