mirror of https://github.com/astral-sh/ruff
Fix stale syntax errors in playground (#13888)
This commit is contained in:
parent
4d109514d6
commit
00b078268b
|
|
@ -67,10 +67,10 @@ function Items({
|
|||
|
||||
return (
|
||||
<ul className="space-y-0.5 flex-grow overflow-y-scroll">
|
||||
{diagnostics.map((diagnostic) => {
|
||||
{diagnostics.map((diagnostic, index) => {
|
||||
return (
|
||||
<li
|
||||
key={`${diagnostic.location.row}:${diagnostic.location.column}-${diagnostic.code}`}
|
||||
key={`${diagnostic.location.row}:${diagnostic.location.column}-${diagnostic.code ?? index}`}
|
||||
>
|
||||
<button
|
||||
onClick={() =>
|
||||
|
|
|
|||
Loading…
Reference in New Issue