Skip to content

Commit

Permalink
set default to show only different images
Browse files Browse the repository at this point in the history
  • Loading branch information
JackySun9 committed Jun 18, 2024
1 parent eb0f4aa commit 13b096b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ImageDiff.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const ImageDiff = ({ data, timestamp }) => {
const [show, setShow] = useState(false);
const [leftImage, setLeftImage] = useState('');
const [rightImage, setRightImage] = useState('');
const [showOnlyDiff, setShowOnlyDiff] = useState(false); // State to manage the filter
const [showOnlyDiff, setShowOnlyDiff] = useState(true); // State to manage the filter

const handleClose = () => setShow(false);
const handleShow = (leftImg, rightImg) => {
Expand Down

0 comments on commit 13b096b

Please sign in to comment.