Skip to content

Commit

Permalink
Import NamiSku typ
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-sumi-k committed Jul 24, 2024
1 parent 359071b commit 1ef26be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# OSX
#
.DS_Store
.yarn

# node.js
#
Expand Down
4 changes: 2 additions & 2 deletions examples/Basic/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Linking, Platform, EmitterSubscription } from 'react-native';
import { NavigationContainer } from '@react-navigation/native';
import { NativeStackNavigationProp } from '@react-navigation/native-stack';
import { createBottomTabNavigator } from '@react-navigation/bottom-tabs';
import { NamiPaywallManager } from 'react-native-nami-sdk';
import { NamiPaywallManager, NamiSKU } from 'react-native-nami-sdk';

import CampaignScreen from './containers/CampaignScreen';
import ProfileScreen from './containers/ProfileScreen';
Expand Down Expand Up @@ -53,7 +53,7 @@ const Tab = createBottomTabNavigator<ViewerTabNavigatorParams>();
const App = () => {
const [subscriptions, setSubscriptions] = useState<Subscription[]>([]);
const [products, setProducts] = useState<Product[]>([]);
const [namiSku, setNamiSku] = useState<NamiSKU>(undefined);
const [namiSku, setNamiSku] = useState<NamiSKU>({} as NamiSKU);

useEffect(() => {
Linking.addEventListener('url', handleDeepLink);
Expand Down

0 comments on commit 1ef26be

Please sign in to comment.