refactor: code quality

This commit is contained in:
Richard 2024-04-20 18:48:09 -07:00
parent f0a7938703
commit 8ca299f671
16 changed files with 82 additions and 101 deletions

View file

@ -1,8 +1,7 @@
local capture = require(script.Parent.capture)
local store = require(script.Parent.store)
local function effect(molecule: () -> nil): () -> ()
local atoms = capture(molecule)
local atoms = store.capture(molecule)
local function listener()
molecule()