diff --git a/src/components/Asset/AssetActions/index.tsx b/src/components/Asset/AssetActions/index.tsx
index 6745e45f2..728b30cd4 100644
--- a/src/components/Asset/AssetActions/index.tsx
+++ b/src/components/Asset/AssetActions/index.tsx
@@ -150,25 +150,12 @@ export default function AssetActions({
/>
)
- const tabs: TabsItem[] = [
- {
- title: 'Use',
- content: UseContent
- }
- ]
+ const tabs: TabsItem[] = [{ title: 'Use', content: UseContent }]
asset?.accessDetails?.type === 'dynamic' &&
tabs.push(
- {
- title: 'Pool',
- content: ,
- disabled: asset?.accessDetails.datatoken.name === ''
- },
- {
- title: 'Trade',
- content: ,
- disabled: asset?.accessDetails.datatoken.name === ''
- }
+ { title: 'Pool', content: },
+ { title: 'Trade', content: }
)
return (
diff --git a/src/components/Publish/Preview/index.module.css b/src/components/Publish/Preview/index.module.css
index 530957339..dc40b61c5 100644
--- a/src/components/Publish/Preview/index.module.css
+++ b/src/components/Publish/Preview/index.module.css
@@ -4,6 +4,10 @@
margin-bottom: var(--spacer);
margin-left: calc(var(--spacer) / -4);
margin-right: calc(var(--spacer) / -4);
+
+ /* Disable all user actions as to not run into unintended
+ consequences of browsing away from publish. */
+ pointer-events: none;
}
@media (min-width: 60rem) {