message: donation: prevent unnecessary API calls
diff: @@ -25,6 +25,7 @@ export default observer(function Grid() {
  const { t } = useTranslation()
  const { data }: UseQueryResult<DonationResponse[]> = useDonationsList()
  + const { selectedRecord } = ModalStore
  const RenderVaultCell = ({ params }: PersonCellProps) => {
  const vault = useVault(params.row.targetVaultId)
  @@ -134,7 +135,8 @@ export default observer(function Grid() {
  />
  </Box>
  - <DetailsModal />
  + {/* making sure we don't sent requests to the API when not needed */}
  + {selectedRecord.id != '' && <DetailsModal />}
  <DeleteModal />
  </>
  )
  