mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-24 10:40:07 +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) {
|
||||
if (saved[f] === undefined) {
|
||||
// Record inline style only once
|
||||
// @ts-expect-error index signature
|
||||
saved[f] = node.style[f]
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user