Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename view and model variables in store to follow convention. #749

Merged
merged 2 commits into from Jun 23, 2023

Conversation

pablo-mayrgundter
Copy link
Member

(This is in prep for a restarted version of #747.)

I had changed the suffix for these to use *Store to help clarify these are not local React state variables, e.g. for useModel vs useModelStore in CadView.

However, it looked like this was causing confusion: there was now redundant methods in the store: setViewer and setViewerStore. The better way to handle this is use uniform naming in the store, and use different local names as needed.

@netlify
Copy link

netlify bot commented Jun 16, 2023

Deploy Preview for bldrs-share ready!

Name Link
🔨 Latest commit a1f7f9c
🔍 Latest deploy log https://app.netlify.com/sites/bldrs-share/deploys/6495d66a97d4c800084d9eb9
😎 Deploy Preview https://deploy-preview-749--bldrs-share.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Copy link
Contributor

@nickcastel50 nickcastel50 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pablo-mayrgundter pablo-mayrgundter merged commit 563f844 into bldrs-ai:main Jun 23, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants