File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
web/ui/mantine-ui/src/pages Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -221,7 +221,7 @@ export default function AlertsPage() {
221221 shadow = "xs"
222222 withBorder
223223 p = "md"
224- key = { `${ g . name } -${ g . file } ` } // TODO: Find a stable and definitely unique key.
224+ key = { `${ g . file } -${ g . name } ` } // TODO: Find a stable and definitely unique key.
225225 >
226226 < Group mb = "sm" justify = "space-between" >
227227 < Group align = "baseline" >
Original file line number Diff line number Diff line change @@ -86,12 +86,13 @@ export default function RulesPage() {
8686 ( effectiveActivePage - 1 ) * ruleGroupsPerPage ,
8787 effectiveActivePage * ruleGroupsPerPage
8888 )
89- . map ( ( g , i ) => (
89+ . map ( ( g ) => (
9090 < Card
9191 shadow = "xs"
9292 withBorder
9393 p = "md"
94- key = { i } // TODO: Find a stable and definitely unique key.
94+ mb = "md"
95+ key = { `${ g . file } -${ g . name } ` } // TODO: Find a stable and definitely unique key.
9596 >
9697 < Group mb = "sm" justify = "space-between" >
9798 < Group align = "baseline" >
You can’t perform that action at this time.
0 commit comments