fix: It looks like a bunch of unformatted shit came in through main?? idk

pull/10320/head
S. Elliott Johnson 9 months ago
parent 4c8431328e
commit ab851d5627

@ -87,10 +87,7 @@ export const javascript_visitors_runes = {
field.kind === 'state'
? b.call('$.source', should_proxy_or_freeze(init) ? b.call('$.proxy', init) : init)
: field.kind === 'frozen_state'
? b.call(
'$.source',
should_proxy_or_freeze(init) ? b.call('$.freeze', init) : init
)
? b.call('$.source', should_proxy_or_freeze(init) ? b.call('$.freeze', init) : init)
: b.call('$.derived', b.thunk(init));
} else {
// if no arguments, we know it's state as `$derived()` is a compile error

Loading…
Cancel
Save