1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

spelling: fragments

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2021-06-24 19:40:56 -04:00
parent b6c5ed6930
commit 272de142b4

View File

@ -81,7 +81,7 @@ export class Preferences extends React.Component {
const fragment = hash.slice(1); // hash is /^(#\w.)?$/
if (fragment) {
// ignore empty framents
// ignore empty fragments
document.getElementById(fragment)?.scrollIntoView();
}
}, {