Skip to content

Commit

Permalink
correct max length for textarea
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishekg999 authored Aug 26, 2024
1 parent ce2bc7a commit ed85a39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const Home = () => {
value={secret}
onChange={(e) => setSecret(e.target.value)}
disabled={!inputEnabled}
maxLength={10000}
maxLength={4000}
/>
<button
className={`mt-4 w-full bg-purple-600 text-white font-bold py-2 px-4 rounded-md transition duration-300 ease-in-out flex items-center justify-center ${inputEnabled
Expand Down Expand Up @@ -99,4 +99,4 @@ const Home = () => {
);
};

export default Home;
export default Home;

0 comments on commit ed85a39

Please sign in to comment.