Skip to content

Commit b81be46

Browse files
committed
fix(client): preserve state during location reload
1 parent fca4a8f commit b81be46

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

‎packages/client/src/solid/data.ts‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -592,12 +592,6 @@ export function createData(config: CreateDataInput) {
592592

593593
function handleEvent(event: OpenCodeEvent) {
594594
switch (event.type) {
595-
case "location.shutdown": {
596-
if (!event.location) return
597-
result.location.invalidate(event.location)
598-
refresh(() => result.location.sync(event.location))
599-
return
600-
}
601595
case "server.connected": {
602596
const updates = new Map<string, DataSessionStatus | undefined>()
603597
activeUpdates = updates

0 commit comments

Comments
 (0)