+4
packages/extension/src/popup/popup.ts
+4
packages/extension/src/popup/popup.ts
···
130
130
throw new Error('No scan results found');
131
131
}
132
132
133
+
if (state.result.usernames.length === 0) {
134
+
throw new Error('No users found. Please scan the page first.');
135
+
}
136
+
133
137
// Import API client
134
138
const { uploadToATlast: apiUpload, getExtensionVersion } = await import('../lib/api-client.js');
135
139