Skip to content

Commit 962ab82

Browse files
committed
fix: remove todos
1 parent 46e47cf commit 962ab82

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/app/sell/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const Page = () => {
2323
const dispatch = useDispatch();
2424
let categories = useSelector((state: State) => state.categories);
2525

26-
if (searchParams.has("only")) { //TODO check change
26+
if (searchParams.has("only")) {
2727
categories = categories.filter((category) => category.key == searchParams.get("only"));
2828
} else if (searchParams.has("except")) {
2929
categories = categories.filter((category) => category.key !== searchParams.get("except"));

src/utils/socket.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ export const Socket = {
3131
}
3232
});
3333

34-
//TODO Appelé à chaque changement de page...
3534
socket.on('disconnect', (reason: string) => {
3635
if (reason === 'transport close' || reason === 'ping timeout') {
3736
toast.error('Extinction du serveur...');

0 commit comments

Comments
 (0)