Skip to content

Commit

Permalink
Merge branch 'lint-fixed-husky-added' into feature/ASC-19495-Update-C…
Browse files Browse the repository at this point in the history
…ommunity
NaingAmity committed Jan 22, 2024
2 parents caaeb44 + c5b2793 commit 0929c3e
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Setup
description: Setup Node.js and install dependencies

env:
SKIP_YARN_COREPACK_CHECK: true
COREPACK_ROOT: true

runs:
using: composite
steps:
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -7,6 +7,10 @@ on:
branches:
- main

env:
SKIP_YARN_COREPACK_CHECK: true
COREPACK_ROOT: true

jobs:
lint:
runs-on: ubuntu-latest
4 changes: 1 addition & 3 deletions src/screens/CreatePost/index.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable react-hooks/exhaustive-deps */
import { useNavigation } from '@react-navigation/native';
import type { NativeStackNavigationProp } from '@react-navigation/native-stack';
import React, { useCallback, useEffect, useState } from 'react';
@@ -277,7 +278,6 @@ const CreatePost = ({ route }: any) => {
);
setDisplayImages((prev) => [...prev, ...imagesObject]);
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [imageMultipleUri]);

const processVideo = async () => {
@@ -319,8 +319,6 @@ const CreatePost = ({ route }: any) => {
};
useEffect(() => {
processVideo();

// eslint-disable-next-line react-hooks/exhaustive-deps
}, [videoMultipleUri]);

const pickImage = async () => {

0 comments on commit 0929c3e

Please sign in to comment.