From fb095460abd7caa25ac54a25b66c0a854b47d6dd Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Mon, 5 Oct 2020 15:13:51 +0200 Subject: [PATCH] loader fixes --- src/components/pages/Publish/Feedback.module.css | 5 +++++ src/components/pages/Publish/index.tsx | 5 +---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/components/pages/Publish/Feedback.module.css b/src/components/pages/Publish/Feedback.module.css index 95bc3ab47..d50bf10e6 100644 --- a/src/components/pages/Publish/Feedback.module.css +++ b/src/components/pages/Publish/Feedback.module.css @@ -30,6 +30,11 @@ } } +.feedback [class*='loaderWrap'] { + justify-content: center; + text-align: center; +} + .action { margin-top: calc(var(--spacer) / 1.5); } diff --git a/src/components/pages/Publish/index.tsx b/src/components/pages/Publish/index.tsx index 8bd246bb6..5e9ba5e68 100644 --- a/src/components/pages/Publish/index.tsx +++ b/src/components/pages/Publish/index.tsx @@ -44,10 +44,7 @@ export default function PublishPage({ const ddo = await publish( (metadata as unknown) as Metadata, - { - ...price, - swapFee: `${price.swapFee}` - }, + { ...price, swapFee: `${price.swapFee}` }, serviceType, price.datatoken )