Skip to content

Commit

Permalink
remove extra loading dots that are a child of <p> (#8237)
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Calder committed Jan 10, 2023
1 parent d074e42 commit 9598c04
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/nervous-dogs-move.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@keystone-6/core': patch
---

Resolve `<div> cannot appear as a dependant of <p>` error on List Page
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,6 @@ const ListPage = ({ listKey }: ListPageProps) => {
data: newData,
error: newError,
refetch,
loading,
} = useQuery(
useMemo(() => {
let selectedGqlFields = [...selectedFields]
Expand Down Expand Up @@ -337,9 +336,6 @@ const ListPage = ({ listKey }: ListPageProps) => {
list={list}
fieldModesByFieldPath={listViewFieldModesByField}
/>{' '}
{loading && (
<LoadingDots label="Loading item data" size="small" tone="active" />
)}
</Fragment>
);
})()}
Expand Down

1 comment on commit 9598c04

@vercel
Copy link

@vercel vercel bot commented on 9598c04 Jan 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.