Use only the boolean interface for the present query string.
parent
791cecd067
commit
f59fc76657
|
@ -17,7 +17,7 @@ export default function resizeLayout() {
|
|||
|
||||
const qs = queryString.parse(window.location.search)
|
||||
|
||||
if (typeof qs.present !== 'undefined') {
|
||||
if (qs.present === 'true') {
|
||||
next(enablePresentationMode())
|
||||
next(action)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue