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

Fix extrusions #76

Merged
merged 2 commits into from
Jun 1, 2024
Merged

Fix extrusions #76

merged 2 commits into from
Jun 1, 2024

Conversation

MattFerraro
Copy link
Collaborator

@MattFerraro MattFerraro commented Jun 1, 2024

The main issue as far as I can tell is that when you do this:

currentlySelected.subscribe(store, {
    console.log($currentlySelected)
})

You only have access to the old value of $currentlySelected. To get the latest you have to use:

currentlySelected.subscribe(store, {
    console.log(store)
})

This fixes #71

@MattFerraro MattFerraro merged commit f840796 into main Jun 1, 2024
2 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.

Extrusions not working on main branch
1 participant