diff --git a/src/pages/files/AssetSummary.tsx b/src/pages/files/AssetSummary.tsx
index fac3444..5832590 100644
--- a/src/pages/files/AssetSummary.tsx
+++ b/src/pages/files/AssetSummary.tsx
@@ -20,11 +20,7 @@ export function AssetSummary({ reference }: Props): ReactElement {
{isHash && }
{!isHash && }
-
- The Swarm Gateway is graciously provided by the Swarm Foundation. This service is under development and provided
- for testing purposes only. Learn more at{' '}
- https://gateway.ethswarm.org/.
-
+ Files are accessed through your configured Bee API endpoint.
>
)
}
diff --git a/src/pages/files/Share.tsx b/src/pages/files/Share.tsx
index 9d0f9a4..1169bf0 100644
--- a/src/pages/files/Share.tsx
+++ b/src/pages/files/Share.tsx
@@ -4,7 +4,7 @@ import { saveAs } from 'file-saver'
import JSZip from 'jszip'
import { useSnackbar } from 'notistack'
import { ReactElement, useContext, useEffect, useRef, useState } from 'react'
-import { useNavigate, useParams } from 'react-router-dom'
+import { useLocation, useNavigate, useParams } from 'react-router-dom'
import { HistoryHeader } from '../../components/HistoryHeader'
import { Loading } from '../../components/Loading'
@@ -26,6 +26,8 @@ export function Share(): ReactElement {
const { status } = useContext(BeeContext)
const { hash } = useParams()
+ const location = useLocation()
+ const fromUpload = Boolean(location.state?.fromUpload)
const navigate = useNavigate()
const { enqueueSnackbar } = useSnackbar()
@@ -239,9 +241,11 @@ export function Share(): ReactElement {
-
-
-
+ {fromUpload && (
+
+
+
+ )}
{
persistIdentity(identities, identity as Identity)