# leadin/11.3.61/scripts/shared/Common/PreviewDisabled.tsx

HubSpot All-In-One Marketing – Forms, Popups, Live Chat, version 11.3.61. 25 lines.

- Page: https://pluginprobe.com/plugins/leadin/11.3.61/code/scripts/shared/Common/PreviewDisabled.tsx
- Raw: https://pluginprobe.com/plugins/leadin/11.3.61/raw/scripts/shared/Common/PreviewDisabled.tsx
- Modified: 2026-07-08T14:59:02+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/leadin/11.3.61/code/scripts/shared/Common/PreviewDisabled.tsx#L10-L20`.

```tsx
import React from 'react';
import UIContainer from '../UIComponents/UIContainer';
import HubspotWrapper from './HubspotWrapper';
import { pluginPath } from '../../constants/leadinConfig';
import { __ } from '@wordpress/i18n';

export default function PreviewDisabled() {
  const errorHeader = __('Preview Unavailable', 'leadin');
  const errorMessage = `${__(
    'This block cannot be previewed within the Full Site Editor',
    'leadin'
  )} ${__('Switch to the Block Editor to view the content', 'leadin')}`;

  return (
    <HubspotWrapper pluginPath={pluginPath}>
      <UIContainer textAlign="center">
        <h4>{errorHeader}</h4>
        <p>
          <b>{errorMessage}</b>
        </p>
      </UIContainer>
    </HubspotWrapper>
  );
}

```
