Remove /grid console logging
This commit is contained in:
parent
2ab02e8b8c
commit
e35489cba2
@ -26,12 +26,7 @@ export default function PhotoGridPage({
|
||||
const { setSelectedPhotoIds } = useAppState();
|
||||
|
||||
useEffect(
|
||||
() => {
|
||||
return () => {
|
||||
console.log('PhotoGridPage: unmount');
|
||||
setSelectedPhotoIds?.(undefined);
|
||||
};
|
||||
},
|
||||
() => () => setSelectedPhotoIds?.(undefined),
|
||||
[setSelectedPhotoIds]
|
||||
);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user