Skip to content

Commit

Permalink
fix selector
Browse files Browse the repository at this point in the history
  • Loading branch information
giuliaghisini committed Dec 6, 2024
1 parent 3f2c831 commit ff4e6a7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ const ContentsDeleteModal = (props) => {
const { itemsToDelete = [], open, onCancel, onOk, items } = props;
const intl = useIntl();
const dispatch = useDispatch();
const linkintegrityInfo = useSelector((state) => state.linkIntegrity.result);
const loading = useSelector((state) => state.linkIntegrity.loading);
const linkintegrityInfo = useSelector((state) => state.linkIntegrity?.result);
const loading = useSelector((state) => state.linkIntegrity?.loading);

const [brokenReferences, setBrokenReferences] = useState(0);
const [containedItemsToDelete, setContainedItemsToDelete] = useState([]);
Expand Down

0 comments on commit ff4e6a7

Please sign in to comment.