Skip to content

Commit 61c4fc8

Browse files
author
Christopher J. Brody
committed
Merge branch 'some-updates' into react-lint-wip
2 parents 5ad4dfe + 43ab256 commit 61c4fc8

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
.env.development.local
1717
.env.test.local
1818
.env.production.local
19+
.*.swp
1920

2021
npm-debug.log*
2122
yarn-debug.log*

src/App.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
import React from "react";
44
import { View, Text, Animated, StyleSheet, StatusBar } from "react-native";
55

6+
const logo = require("./assets/react-logo.png");
7+
68
export default class App extends React.Component {
79
constructor(props) {
810
super(props);
@@ -39,8 +41,7 @@ export default class App extends React.Component {
3941
<Animated.Image
4042
style={[styles.headerImage, rotationStyle]}
4143
resizeMode={"contain"}
42-
// FUTURE TODO require *once* at the beginning:
43-
source={require("./assets/react-logo.png")}
44+
source={logo}
4445
/>
4546
<Text style={styles.appTitle}>Welcome to React Native Web️</Text>
4647
<Text style={styles.appSubtitle}>Vanilla Edition</Text>

0 commit comments

Comments
 (0)