From be50633b530b0b0de28f64b9797cbb7997204f77 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Mon, 1 Jul 2019 00:35:36 -0400 Subject: [PATCH] add placeholders to claim previews --- src/ui/component/claimList/view.jsx | 4 ++- src/ui/component/claimListDiscover/view.jsx | 1 + src/ui/component/claimPreview/index.js~HEAD | 35 --------------------- src/ui/component/claimPreview/view.jsx | 2 +- src/ui/redux/actions/app.js | 4 ++- src/ui/scss/component/_placeholder.scss | 2 +- src/ui/store.js | 28 ++++++++--------- static/locales/en.json | 4 +++ 8 files changed, 27 insertions(+), 53 deletions(-) delete mode 100644 src/ui/component/claimPreview/index.js~HEAD diff --git a/src/ui/component/claimList/view.jsx b/src/ui/component/claimList/view.jsx index 9b7014405..859fe9967 100644 --- a/src/ui/component/claimList/view.jsx +++ b/src/ui/component/claimList/view.jsx @@ -21,6 +21,7 @@ type Props = { empty?: string, defaultSort?: boolean, onScrollBottom?: any => void, + page?: number, // If using the default header, this is a unique ID needed to persist the state of the filter setting persistedStorageKey?: string, }; @@ -37,6 +38,7 @@ export default function ClaimList(props: Props) { type, header, onScrollBottom, + page, } = props; const [currentSort, setCurrentSort] = usePersistedState(persistedStorageKey, SORT_NEW); const hasUris = uris && !!uris.length; @@ -101,7 +103,7 @@ export default function ClaimList(props: Props) {