Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Fixed the TS error
Vladyslav Matsiiako676f34092824
diff --git a/frontend/pages/dashboard/[id].tsx b/frontend/pages/dashboard/[id].tsxindex 3852e44f6d..e4b6926913 100644--- a/frontend/pages/dashboard/[id].tsx+++ b/frontend/pages/dashboard/[id].tsx@@ -378,11 +378,11 @@ export default function Dashboard() {* This function copies the project id to the clipboard*/function copyToClipboard() {- const copyText = document.getElementById('myInput');+ const copyText = document.getElementById('myInput') as HTMLInputElement;if (copyText) {copyText.select();- // copyText.setSelectionRange(0, 99999); // For mobile devices+ copyText.setSelectionRange(0, 99999); // For mobile devicesnavigator.clipboard.writeText(copyText.value);