Skip to content

Commit b10d8d6

Browse files
committed
perf(connector-status): use shallowRef instead deep ref
1 parent 9d6b149 commit b10d8d6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/components/ConnectorStatus.client.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
const { isConnected, isConnecting, npmUser, error, activeOperations, hasPendingOperations } =
33
useConnector()
44
5-
const showModal = ref(false)
6-
const showTooltip = ref(false)
5+
const showModal = shallowRef(false)
6+
const showTooltip = shallowRef(false)
77
88
const statusText = computed(() => {
99
if (isConnecting.value) return 'connecting…'

0 commit comments

Comments
 (0)