fixes for lint and compilation errors

This commit is contained in:
Sampath 2024-01-02 23:05:06 +05:30
commit b38f558248
1 changed files with 3 additions and 1 deletions

View File

@ -106,7 +106,9 @@ export class PanelContainerComponent extends React.Component<PanelContainerProps
const focusableParent = this.findFocusableParent(targetElement);
if (focusableParent) {
setTimeout(() => {
if (focusableParent) focusableParent.focus();
if (focusableParent) {
focusableParent.focus();
}
}, 100);
sessionStorage.removeItem("focusedElementId");
}