peckadesign / pd-naja

1 stars 0 forks source link

fix: Preserve `pdModal` in state on `replaceInitialState` #23

Closed zipper closed 4 months ago

zipper commented 4 months ago

When Naja calls the replaceInitialState function, we have to keep the pdModal from the current window state. This only needs to be done on the replaceInitialState call.

Closes #1