Skip to content

Commit a0d226e

Browse files
committed
Allow Firestack to be @imported
1 parent 2533e4e commit a0d226e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

app/views/Database/Demos/Chat.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ export class Chat extends React.Component {
3737
// messages: GiftedChat.append(previousMessages, messages)
3838
// }, () => {
3939
.on('child_added', (snapshot) => {
40-
console.log('child_added called -->', this);
4140
this.setState({
4241
messages: GiftedChat.append(this.state.messages, snapshot.val())
4342
})

ios/FirestackApp/AppDelegate.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
#import "RCTBundleURLProvider.h"
1313
#import "RCTRootView.h"
1414

15+
@import Firestack;
16+
1517
@implementation AppDelegate
1618

1719
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions

0 commit comments

Comments
 (0)