File tree Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -18,14 +18,14 @@ export function loadLoginCredentials(): Promise<{
1818 username ? : string ,
1919 password ? : string ,
2020} > {
21- return Keychain . getInternetCredentials (
22- SIS_LOGIN_CREDENTIAL_KEY ,
23- ) . catch ( ( ) => ( { } ) )
21+ return Keychain . getInternetCredentials ( SIS_LOGIN_CREDENTIAL_KEY ) . catch (
22+ ( ) => ( { } ) ,
23+ )
2424}
2525export function clearLoginCredentials ( ) {
26- return Keychain . resetInternetCredentials (
27- SIS_LOGIN_CREDENTIAL_KEY ,
28- ) . catch ( ( ) => ( { } ) )
26+ return Keychain . resetInternetCredentials ( SIS_LOGIN_CREDENTIAL_KEY ) . catch (
27+ ( ) => ( { } ) ,
28+ )
2929}
3030
3131export async function isLoggedIn ( ) : Promise < boolean > {
Original file line number Diff line number Diff line change @@ -97,13 +97,13 @@ export class StudentOrgsView extends React.Component {
9797 }
9898
9999 fetchData = async ( ) => {
100- const responseData : StudentOrgType [ ] = await fetchJson (
101- orgsUrl ,
102- ) . catch ( err => {
103- reportNetworkProblem ( err )
104- this . setState ( ( ) => ( { error : true } ) )
105- return [ ]
106- } )
100+ const responseData : StudentOrgType [ ] = await fetchJson ( orgsUrl ) . catch (
101+ err => {
102+ reportNetworkProblem ( err )
103+ this . setState ( ( ) => ( { error : true } ) )
104+ return [ ]
105+ } ,
106+ )
107107
108108 const sortableRegex = / ^ ( S t \. ? O l a f (?: C o l l e g e ) ? | T h e ) + / i
109109 const withSortableNames = responseData . map ( item => {
You can’t perform that action at this time.
0 commit comments