mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-10 02:24:13 +00:00
fix: add check for window size zero for sync cards
This commit is contained in:
parent
c800721e78
commit
bafa31b1f9
@ -6,6 +6,10 @@ import styles from '../index.module.css'
|
||||
const KeyGenerationHeader = () => {
|
||||
const windowSize = useWindowSize()
|
||||
|
||||
if (windowSize.width <= 0) {
|
||||
return null
|
||||
}
|
||||
|
||||
return (
|
||||
<div className={styles['header']}>
|
||||
<KeyGenerationTitle />
|
||||
|
Loading…
x
Reference in New Issue
Block a user