Skip to content

Commit

Permalink
index.js was fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Gonzalo Lopez committed Oct 17, 2023
1 parent b17e3a1 commit f10782f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ import App from './App';
import {name as appName} from './app.json';
import Storybook from './storybook';

const Component = App;
const Component = __DEV__ ? Storybook : App;
AppRegistry.registerComponent(appName, () => Component);

0 comments on commit f10782f

Please sign in to comment.