Skip to content

Commit 26b176a

Browse files
committed
Remove unused method
1 parent a5dd4ff commit 26b176a

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

src/components/DynamicSpreadsheet.tsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -193,13 +193,6 @@ export default function DynamicSpreadsheet() {
193193
});
194194
};
195195

196-
const searchElementByTitle = (title: string) => {
197-
const element = document.querySelector(`[title="${title}"]`);
198-
if (element) {
199-
element.scrollIntoView({ behavior: 'smooth', block: 'center' });
200-
}
201-
};
202-
203196
return (
204197
<div className="">
205198
<div className="prose-page">

0 commit comments

Comments
 (0)