Skip to content

Commit 364ce4c

Browse files
committed
Remove duplicated Stack
1 parent 7970990 commit 364ce4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/ra-ui-materialui/src/list/SingleFieldList.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export const SingleFieldList = <RecordType extends RaRecord = any>(
9393
<WithListContext<RecordType>
9494
render={({ isPending, data }) =>
9595
!isPending && (
96-
<Stack direction="row" spacing={1}>
96+
<>
9797
{data?.map(record => {
9898
const resourceLinkPath = !linkType
9999
? false
@@ -135,7 +135,7 @@ export const SingleFieldList = <RecordType extends RaRecord = any>(
135135
</RecordContextProvider>
136136
);
137137
})}
138-
</Stack>
138+
</>
139139
)
140140
}
141141
/>

0 commit comments

Comments
 (0)