Skip to content

Commit

Permalink
fix: Author(other bar) 클릭시 커밋내역이 나오지는 않는 이슈(githru#553)
Browse files Browse the repository at this point in the history
  • Loading branch information
HIITMEMARIO committed Jul 26, 2024
1 parent b140824 commit 3335ca3
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ const AuthorBarChart = () => {
};

if (isAuthorSelected) {
// 현재 선택된 저자를 다시 클릭하면 이전 데이터로 복원
// 현재 선택된 사용자를 다시 클릭하면 이전 데이터로 복원
const newFilteredData = prevData.length > 0 ? prevData.pop() : filteredData;
setFilteredData(newFilteredData ?? filteredData);
setPrevData([...prevData]);
Expand Down Expand Up @@ -198,7 +198,6 @@ const AuthorBarChart = () => {
totalData,
selectedAuthor,
setSelectedAuthor,
// selectedAuthorNames,
]);

const handleChangeMetric = (e: ChangeEvent<HTMLSelectElement>): void => {
Expand Down

0 comments on commit 3335ca3

Please sign in to comment.