fix: input type & docs link

This commit is contained in:
ShubhamPalriwala
2024-05-29 14:10:46 +05:30
parent 387981ea87
commit 4e51a3b784
2 changed files with 2 additions and 3 deletions
@@ -13,8 +13,7 @@ export const ShareSecretPage = () => {
<p className="text-bunker-300">Share secrets with anybody securely and efficiently</p> <p className="text-bunker-300">Share secrets with anybody securely and efficiently</p>
</div> </div>
<div className="flex w-max justify-center"> <div className="flex w-max justify-center">
{/* Add docs here */} <Link href="https://infisical.com/docs/documentation/platform/secret-sharing">
<Link href="https://infisical.com/docs/documentation/platform/pr-workflows">
<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"> <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{" "} Documentation{" "}
<FontAwesomeIcon <FontAwesomeIcon
@@ -212,7 +212,7 @@ export const AddShareSecretModal = ({ popUp, handlePopUpToggle }: Props) => {
isError={Boolean(error)} isError={Boolean(error)}
errorText={error?.message} errorText={error?.message}
> >
<Input {...field} placeholder="Type your secret value" /> <Input {...field} type="number" min={0} />
</FormControl> </FormControl>
)} )}
/> />