Skip to content

Commit

Permalink
fix: delete tunnel bug
Browse files Browse the repository at this point in the history
closes #435
  • Loading branch information
zaneschepke committed Nov 13, 2024
1 parent e9ae48f commit 2993f1d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ fun MainScreen(viewModel: MainViewModel = hiltViewModel(), uiState: AppUiState)
InfoDialog(
onDismiss = { showDeleteTunnelAlertDialog = false },
onAttest = {
selectedTunnel?.let { viewModel::onDelete }
selectedTunnel?.let { viewModel.onDelete(it) }
showDeleteTunnelAlertDialog = false
selectedTunnel = null
},
Expand Down

0 comments on commit 2993f1d

Please sign in to comment.