зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1588258 - Prevent React key erro in debugger's Breakpoints panel r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D49047 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
c7518beb08
Коммит
bd71d094b3
|
@ -121,7 +121,11 @@ class Breakpoints extends Component<Props> {
|
|||
);
|
||||
|
||||
return [
|
||||
<BreakpointHeading source={source} sources={sources} />,
|
||||
<BreakpointHeading
|
||||
key={source.id}
|
||||
source={source}
|
||||
sources={sources}
|
||||
/>,
|
||||
...sortedBreakpoints.map(breakpoint => (
|
||||
<Breakpoint
|
||||
breakpoint={breakpoint}
|
||||
|
|
Загрузка…
Ссылка в новой задаче