We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
shallowRef
1 parent 08be1cb commit 9d6b149Copy full SHA for 9d6b149
1 file changed
app/components/ConnectorModal.vue
@@ -4,9 +4,9 @@ const open = defineModel<boolean>('open', { default: false })
4
const { isConnected, isConnecting, npmUser, error, hasOperations, connect, disconnect } =
5
useConnector()
6
7
-const tokenInput = ref('')
8
-const portInput = ref('31415')
9
-const copied = ref(false)
+const tokenInput = shallowRef('')
+const portInput = shallowRef('31415')
+const copied = shallowRef(false)
10
11
async function handleConnect() {
12
const port = Number.parseInt(portInput.value, 10) || 31415
0 commit comments