File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ const Page = () => {
23
23
const dispatch = useDispatch ( ) ;
24
24
let categories = useSelector ( ( state : State ) => state . categories ) ;
25
25
26
- if ( searchParams . has ( "only" ) ) { //TODO check change
26
+ if ( searchParams . has ( "only" ) ) {
27
27
categories = categories . filter ( ( category ) => category . key == searchParams . get ( "only" ) ) ;
28
28
} else if ( searchParams . has ( "except" ) ) {
29
29
categories = categories . filter ( ( category ) => category . key !== searchParams . get ( "except" ) ) ;
Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ export const Socket = {
31
31
}
32
32
} ) ;
33
33
34
- //TODO Appelé à chaque changement de page...
35
34
socket . on ( 'disconnect' , ( reason : string ) => {
36
35
if ( reason === 'transport close' || reason === 'ping timeout' ) {
37
36
toast . error ( 'Extinction du serveur...' ) ;
You can’t perform that action at this time.
0 commit comments