Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

fix: input type & docs link

ShubhamPalriwala4e51a3b784d5
diff --git a/frontend/src/views/ShareSecretPage/ShareSecretPage.tsx b/frontend/src/views/ShareSecretPage/ShareSecretPage.tsx
index 74db4f9096..d6b2b71ac3 100644
--- a/frontend/src/views/ShareSecretPage/ShareSecretPage.tsx
+++ b/frontend/src/views/ShareSecretPage/ShareSecretPage.tsx
@@ -13,8 +13,7 @@ export const ShareSecretPage = () => {
<p className="text-bunker-300">Share secrets with anybody securely and efficiently</p>
</div>
<div className="flex w-max justify-center">
- {/* Add docs here */}
- <Link href="https://infisical.com/docs/documentation/platform/pr-workflows">
+ <Link href="https://infisical.com/docs/documentation/platform/secret-sharing">
<span className="w-max cursor-pointer rounded-md border border-mineshaft-500 bg-mineshaft-600 px-4 py-2 text-mineshaft-200 duration-200 hover:border-primary/40 hover:bg-primary/10 hover:text-white">
Documentation{" "}
<FontAwesomeIcon
diff --git a/frontend/src/views/ShareSecretPage/components/AddShareSecretModal.tsx b/frontend/src/views/ShareSecretPage/components/AddShareSecretModal.tsx
index 39e026f635..cb4c328660 100644
--- a/frontend/src/views/ShareSecretPage/components/AddShareSecretModal.tsx
+++ b/frontend/src/views/ShareSecretPage/components/AddShareSecretModal.tsx
@@ -212,7 +212,7 @@ export const AddShareSecretModal = ({ popUp, handlePopUpToggle }: Props) => {
isError={Boolean(error)}
errorText={error?.message}
>
- <Input {...field} placeholder="Type your secret value" />
+ <Input {...field} type="number" min={0} />
</FormControl>
)}
/>