mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-06 05:09:09 +08:00
fix(renderer): remove obsolete ts-expect-error from image utility
This commit is contained in:
parent
234236716b
commit
bee494b28d
@ -89,8 +89,6 @@ export const captureScrollable = async (elRef: React.RefObject<HTMLElement | nul
|
|||||||
}
|
}
|
||||||
for (const f of fields) {
|
for (const f of fields) {
|
||||||
if (saved[f] === undefined) {
|
if (saved[f] === undefined) {
|
||||||
// Record inline style only once
|
|
||||||
// @ts-expect-error index signature
|
|
||||||
saved[f] = node.style[f]
|
saved[f] = node.style[f]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user