Skip to content

Commit bf33cba

Browse files
committed
handle project delete
1 parent 66d4563 commit bf33cba

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { AdminWebsocket, AppClient, AppWebsocket } from '@holochain/client'
1+
import { AppClient } from '@holochain/client'
22
import { removeProjectCellId } from '../redux/persistent/cells/actions'
33
import { CellIdString } from '../types/shared'
44
import { cellIdFromString } from '../utils'
@@ -9,7 +9,7 @@ export async function uninstallProject(
99
dispatch: any,
1010
appWs: AppClient
1111
) {
12-
// await appWs.disableCloneCell({ clone_cell_id: cellIdFromString(cellId) })
13-
// // remove it from our redux state
14-
// dispatch(removeProjectCellId(cellId))
12+
await appWs.disableCloneCell({ clone_cell_id: cellIdFromString(cellId)[0] })
13+
// remove it from our redux state
14+
dispatch(removeProjectCellId(cellId))
1515
}

0 commit comments

Comments
 (0)