mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-04 15:43:35 +00:00
fix(window-size): remove checks for initial 0 width
This commit is contained in:
parent
cfa34de8cc
commit
2ea3785f10
@ -32,10 +32,6 @@ const EmojiPickerDialog = ({ emojiStyle, changeEmoji }: EmojiPickerProps) => {
|
||||
}
|
||||
}
|
||||
|
||||
if (windowSize.width === 0) {
|
||||
return null
|
||||
}
|
||||
|
||||
return (
|
||||
<Stack position="absolute" zIndex={1} left={100} top={-150}>
|
||||
<EmojiPicker
|
||||
|
@ -6,10 +6,6 @@ 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