diff --git a/apps/studio/components/interfaces/Database/Publications/PublicationsList.tsx b/apps/studio/components/interfaces/Database/Publications/PublicationsList.tsx index 76e38f9cc5f..5de24b57093 100644 --- a/apps/studio/components/interfaces/Database/Publications/PublicationsList.tsx +++ b/apps/studio/components/interfaces/Database/Publications/PublicationsList.tsx @@ -112,55 +112,57 @@ const PublicationsList = ({ onSelectPublication = noop }: PublicationsListProps) , ]} body={ - isLoading - ? - : publications.map((x) => ( - - {x.name} - {x.id} - {publicationEvents.map((event) => ( - - { - setToggleListenEventValue({ - publication: x, - event, - currentStatus: (x as any)[event.key], - }) - }} - /> - - ))} - -
- -
+ isLoading ? ( + + ) : ( + publications.map((x) => ( + + {x.name} + {x.id} + {publicationEvents.map((event) => ( + + { + setToggleListenEventValue({ + publication: x, + event, + currentStatus: (x as any)[event.key], + }) + }} + /> - - )) + ))} + +
+ +
+
+
+ )) + ) } />