Skip to content

Commit a443109

Browse files
committed
refactor: remove useless console.log
1 parent 776c484 commit a443109

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

src/Pages/IssuePage/IssuePageSelectPanelAuthor.jsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,12 @@ const SelectPanelAuthor = ({ authors = [], onSelect }) => {
1717
...authors.map((author) => ({
1818
key: author,
1919
text: author,
20-
onAction: () => console.log(`Option ${author} selected`),
2120
})),
2221
].filter((item) => item.text.toLowerCase().startsWith(filter.toLowerCase()));
2322

2423
const handleSelectedChange = (selected) => {
2524
setSelected(selected);
2625
if (onSelect) {
27-
console.log(selected);
28-
console.log(selected.text);
2926
onSelect(selected.text);
3027
}
3128
};

src/context/issueContext.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,6 @@ export const IssueContextProvider = ({ children }) => {
221221
} catch (error) {
222222
handleFetchError(error);
223223
}
224-
} else {
225-
console.log("URL contains 'comment' or owner/repoName is not defined");
226224
}
227225
};
228226

0 commit comments

Comments
 (0)