frankcollins3 / mine-nugget-ts

gold mine themed cannabis strain API (fixing deployment)
https://mine-nugget.vercel.app
2 stars 0 forks source link

react element inline props -> 👎 order returning a false | undefined [6:32pm] #249

Closed frankcollins3 closed 1 year ago

frankcollins3 commented 1 year ago

attempting to do: set {order: 3} for the navbar icon that correlates to the currently visited page of the app. (i.e.) -> when user is on familytree/card-game, the cactus icon (which navs user to /familytree.tsx) heads most rightwardly as it can.

Screen Shot 2023-08-25 at 6 27 39 PM

error: problem is an error is returned but it still works. Screen Shot 2023-08-25 at 6 29 15 PM

Screen Shot 2023-08-25 at 6 32 06 PM

proposed approach:

0: this being inline element props, and inline styling needing strings: already tried {order: "3"} ----> {order: 3} just to be sure.

both return the same error.

that attempt aside: really stumped for now since {flex: order} isnt used in any of the apps I've made

frankcollins3 commented 1 year ago

// bookmarking thought processes. only came up with this because I just fixed navbar to: change magnify.png to magnify3.png when the user is on the page that corresponds to magnify. can be seen above.

did that and decided to order them the way this feature intends. [6:38pm]

frankcollins3 commented 1 year ago

👍 chatGPT returning an hour or two of life to the dev. checksum mismatch error. {initial} is the falsy block value that tells the compiler which rendered content to serve

Screen Shot 2023-08-25 at 6 41 50 PM

[6:45pm]