mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-26 20:10:09 +00:00
Fix stale syntax errors in playground (#13888)
This commit is contained in:
parent
4d109514d6
commit
00b078268b
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue