File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
packages/svelte/src/internal/client Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,6 @@ export function proxy(value) {
9696 let updating = false ;
9797 /** @param {string } new_path */
9898 function update_path ( new_path ) {
99- console . log ( { new_path, updating, stack : new Error ( ) . stack } ) ;
10099 if ( updating ) return ;
101100 updating = true ;
102101 path = new_path ;
@@ -288,13 +287,13 @@ export function proxy(value) {
288287 if ( s === undefined ) {
289288 if ( ! has || get_descriptor ( target , prop ) ?. writable ) {
290289 s = with_parent ( ( ) => source ( undefined , stack ) ) ;
291- set ( s , proxy ( value ) ) ;
292-
293- sources . set ( prop , s ) ;
294290
295291 if ( DEV ) {
296292 tag ( s , get_label ( path , prop ) ) ;
297293 }
294+ set ( s , proxy ( value ) ) ;
295+
296+ sources . set ( prop , s ) ;
298297 }
299298 } else {
300299 has = s . v !== UNINITIALIZED ;
You can’t perform that action at this time.
0 commit comments