mirror of
https://github.com/morten-olsen/react-native-debug-console.git
synced 2026-02-08 00:36:26 +01:00
fix for prod builds
This commit is contained in:
@@ -56,7 +56,7 @@ const getColor = (type) => {
|
|||||||
|
|
||||||
const formatData = (data, options) => {
|
const formatData = (data, options) => {
|
||||||
const {
|
const {
|
||||||
includeStackTrace
|
includeStackTrace,
|
||||||
} = options;
|
} = options;
|
||||||
if (typeof data === 'undefined') {
|
if (typeof data === 'undefined') {
|
||||||
return <Fixed>undefined</Fixed>;
|
return <Fixed>undefined</Fixed>;
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ class Events extends Component {
|
|||||||
|
|
||||||
render() {
|
render() {
|
||||||
const {
|
const {
|
||||||
includeStackTrace
|
includeStackTrace,
|
||||||
} = this.props;
|
} = this.props;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -14,8 +14,7 @@ const Wrapper = styled.View`
|
|||||||
flex: 1;
|
flex: 1;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const StorageView = ({
|
const StorageView = () => (
|
||||||
}) => (
|
|
||||||
<State>
|
<State>
|
||||||
{({ selected }, setState) => (
|
{({ selected }, setState) => (
|
||||||
<Storage>
|
<Storage>
|
||||||
|
|||||||
Reference in New Issue
Block a user