Skip to content

Commit 9c95553

Browse files
author
Lucas Araujo
committed
[DDW-738] Fix flow issue
1 parent 29216fe commit 9c95553

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

source/renderer/app/App.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ export default class App extends Component<{
4848
!isNodeStopping && // Daedalus is not shutting down
4949
!isNodeStopped; // Daedalus is not shutting down
5050

51-
document.documentElement.lang = locale;
51+
if (document.documentElement) {
52+
document.documentElement.lang = locale;
53+
}
5254

5355
return (
5456
<Fragment>

0 commit comments

Comments
 (0)