TrueKuehli / PruneTree

App for creating Sims 4 family trees. Fork of the Plum Tree app using local browser storage to replace API calls.
https://prunetree.app/
ISC License
3 stars 2 forks source link

Tree Importing broken on mobile #36

Closed TrueKuehli closed 9 months ago

TrueKuehli commented 10 months ago

Describe the bug I'm unable to import a tree backup zip in both Chrome and Firefox for Android.

To Reproduce Steps to reproduce the behavior:

  1. Create a tree on mobile and download it. This does seem to produce a valid backup.
  2. Try to import that backup file in either Chrome or Firefox on mobile. I haven't tested it with other browsers, but expect it to be broken as well.
  3. The page gets stuck on the loading screen with no new tree showing up in the sidebar.

Expected behavior The tree should be important and the user should be redirected to the newly imported tree.

Smartphone (please complete the following information):

Additional context I assume an error is thrown at some point, causing the code to stop before reaching the setLoading(false) statement (and before importing the tree). Remote debugging the app from a desktop browser should hopefully tell us what is causing this issue.

TrueKuehli commented 9 months ago

Fixed by c27dbf7de4f16d9b5fefed4faa6cde21514aed23