Skip to content

Commit 98558ae

Browse files
committed
chore: run lint-fix
1 parent 70b2051 commit 98558ae

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/utils/Services.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -193,16 +193,16 @@ export function getStudentServices(
193193
image: Urls.images.tutorInsa,
194194
onPress: () => {
195195
Linking.canOpenURL(Urls.websites.tutorInsaDeepLink)
196-
.then((supported) => {
197-
console.log(`Instagram deep link supported: ${supported}`);
198-
if (supported) {
199-
return Linking.openURL(Urls.websites.tutorInsaDeepLink);
200-
} else {
201-
return Linking.openURL(Urls.websites.tutorInsa);
202-
}
203-
})
204-
.catch(() => Linking.openURL(Urls.websites.tutorInsa));
205-
},
196+
.then((supported: boolean) => {
197+
console.log(`Instagram deep link supported: ${supported}`);
198+
if (supported) {
199+
return Linking.openURL(Urls.websites.tutorInsaDeepLink);
200+
} else {
201+
return Linking.openURL(Urls.websites.tutorInsa);
202+
}
203+
})
204+
.catch(() => Linking.openURL(Urls.websites.tutorInsa));
205+
},
206206
badgeFunction: (dashboard: FullDashboardType): number =>
207207
dashboard.available_tutorials,
208208
},

0 commit comments

Comments
 (0)