Fixed WSOD bug when deleting account/channel and details becomes null before delete modal is removed
This commit is contained in:
parent
0bf60429ec
commit
983c031325
2
NOTES.md
2
NOTES.md
|
@ -19,8 +19,6 @@ Rum Goggles Service:
|
|||
|
||||
# Bugs
|
||||
|
||||
Windows 10: white screen of death when deleting accounts/channels
|
||||
|
||||
Chat bot rule menu back button does not work in macOS
|
||||
|
||||
If connection to chat stream breaks, gracefully handle error
|
||||
|
|
|
@ -352,7 +352,7 @@ function PageDetails(props) {
|
|||
onClose={resetDelete}
|
||||
deleteButton={deleting ? 'Deleting' : 'Delete'}
|
||||
onDelete={deletePage}
|
||||
deleteActive={details.title === deleteName}
|
||||
deleteActive={details === null ? false : details.title === deleteName}
|
||||
pageName={details.title}
|
||||
show={openDelete}
|
||||
style={{
|
||||
|
|
Loading…
Reference in a new issue