Commit b5d4d5e
committed
refactor(expo): move pk change reset to useEffect
Move publishable key hot-swap ref reset into a useEffect with pk in
the dependency array. Removes the prevPkRef manual comparison.1 parent 21933a6 commit b5d4d5e
1 file changed
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
73 | 71 | | |
74 | | - | |
75 | | - | |
| 72 | + | |
76 | 73 | | |
77 | 74 | | |
78 | 75 | | |
79 | | - | |
| 76 | + | |
80 | 77 | | |
81 | 78 | | |
82 | 79 | | |
| |||
0 commit comments