Skip to content

Commit

Permalink
rollback to 0.3.0 updates
Browse files Browse the repository at this point in the history
  • Loading branch information
wobsoriano committed Jun 22, 2023
1 parent 50a896d commit b2dd962
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { isProxy, toRaw, watch } from 'vue-demi';
import { watch } from 'vue-demi';
import type { MethodType } from 'broadcast-channel';
import { BroadcastChannel as BroadcastChannelImpl } from 'broadcast-channel';
import type { PiniaPluginContext, Store } from 'pinia';
import * as devalue from 'devalue';

function removeProxy<T>(state: T): T {
return isProxy(state) ? toRaw(state) : devalue.parse(devalue.stringify(state));
return devalue.parse(devalue.stringify(state));
}

/**
Expand Down

0 comments on commit b2dd962

Please sign in to comment.