Fix cookie dialog rows not disappearing on delete (#344)

This commit is contained in:
Gregory Schier
2026-01-04 20:10:11 -08:00
committed by GitHub
parent 6c9791cf0b
commit 1828e2ec14

View File

@@ -38,7 +38,7 @@ export const CookieDialog = ({ cookieJarId }: Props) => {
</thead>
<tbody className="divide-y divide-surface-highlight">
{cookieJar?.cookies.map((c: Cookie) => (
<tr key={c.domain + c.raw_cookie + c.path + c.expires}>
<tr key={JSON.stringify(c)}>
<td className="py-2 select-text cursor-text font-mono font-semibold max-w-0">
{cookieDomain(c)}
</td>