Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
abdouAoufi committed Aug 19, 2024
1 parent e1a57dc commit 348b6db
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/hooks/useAuth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const useAuth = (): AuthContextInterface => {
error,
sessionState,
apiRegion,
avatarImgUrl
avatarImgUrl,
} = useContext(AuthContext);

return {
Expand All @@ -25,7 +25,7 @@ const useAuth = (): AuthContextInterface => {
isConnected,
sessionState,
apiRegion,
avatarImgUrl
avatarImgUrl,
};
};

Expand Down
2 changes: 1 addition & 1 deletion src/providers/amity-ui-kit-provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export default function AmityUiKitProvider({
configs,
behaviour,
fcmToken,
avatarImgUrl
avatarImgUrl,
}: IAmityUIkitProvider) {
const colorScheme = useColorScheme();
const SHADE_PERCENTAGES = [0.25, 0.4, 0.45, 0.6];
Expand Down
6 changes: 3 additions & 3 deletions src/providers/auth-provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const AuthContext = React.createContext<AuthContextInterface>({
apiRegion: 'sg',
authToken: '',
fcmToken: undefined,
avatarImgUrl:''
avatarImgUrl: '',
});

export const AuthContextProvider: FC<IAmityUIkitProvider> = ({
Expand All @@ -29,7 +29,7 @@ export const AuthContextProvider: FC<IAmityUIkitProvider> = ({
children,
authToken,
fcmToken,
avatarImgUrl
avatarImgUrl,
}: IAmityUIkitProvider) => {
const [error, setError] = useState('');
const [isConnecting, setLoading] = useState(false);
Expand Down Expand Up @@ -150,7 +150,7 @@ export const AuthContextProvider: FC<IAmityUIkitProvider> = ({
isConnected,
sessionState,
apiRegion: apiRegion.toLowerCase(),
avatarImgUrl
avatarImgUrl,
}}
>
{children}
Expand Down
2 changes: 1 addition & 1 deletion src/v4/ila-26/components/CustomSocialTab/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const useStyles = () => {
paddingHorizontal: 12,
borderBottomWidth: 2,
borderColor: theme.colors.baseShade4,
marginTop : Platform.select({android : 16, ios : hasNotch() ? 0 : 32})
marginTop: Platform.select({ android: 16, ios: hasNotch() ? 0 : 32 }),
},
tabBtn: {
paddingHorizontal: 12,
Expand Down

0 comments on commit 348b6db

Please sign in to comment.