/**
* WordPress dependencies
*/
import { _x } from '@safe-wordpress/i18n';
/**
* Internal dependencies
*/
import { useSharedLinkAttributes } from '../../../hooks';
import { SharedLinkLoader } from '../shared-link-loader';
export const MaybeSharedLink = (): JSX.Element | null => {
const { sharedLinkStatus, sharedLink: { title, image, domain } = {} } =
useSharedLinkAttributes( 'last' );
switch ( sharedLinkStatus ) {
case 'loading':
return