Skip to content

Commit

Permalink
fix: lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
jiohjung98 committed Jun 8, 2024
1 parent 2bd23c5 commit 8303af9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/map/BranchInfo.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable react-hooks/exhaustive-deps */
import React, { useEffect, useState } from 'react';
import Image from 'next/image';
import { useRouter } from 'next/router';
Expand Down Expand Up @@ -47,7 +48,6 @@ const BranchInfo: React.FC = () => {
if (numericBranchId) {
fetchData();
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [numericBranchId]);


Expand All @@ -65,7 +65,6 @@ const BranchInfo: React.FC = () => {
})
);
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [branchName, address, branchPhoneNumber, roadFromStation, stationToBranch, numericBranchId]);

useEffect(() => {
Expand Down Expand Up @@ -97,7 +96,6 @@ const BranchInfo: React.FC = () => {
);
}
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);

const handleGoToReservation = async () => {
Expand Down

0 comments on commit 8303af9

Please sign in to comment.