const isValidPlaceholderData = placeholderData => (placeholderData === null || placeholderData === void 0 ? void 0 : placeholderData.data) && 'url' in placeholderData.data && 'name' in placeholderData.data;
export const extractPlaceHolderCardState = placeholderData => {
  return isValidPlaceholderData(placeholderData) ? {
    status: 'resolved',
    metadataStatus: undefined,
    details: placeholderData
  } : undefined;
};