Skip to content

Commit

Permalink
Merge pull request #1744 from akto-api-security/hotfix/test_response_…
Browse files Browse the repository at this point in the history
…editor_height

fix: fixed height for test response editor
  • Loading branch information
Ark2307 authored Nov 20, 2024
2 parents e4dae3c + bc527c5 commit 7f17f57
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ function SampleData(props) {
const [showActionsModal, setShowActionsModal] = useState(false);
const [showErrorModal, setShowErrorModal] = useState(false);
const [selectedWord, setSelectedWord] = useState("");
const [dynamicHeight, setDynamicHeight] = useState(minHeight);
const [dynamicHeight, setDynamicHeight] = useState(minHeight || '300px');

if(minHeight==undefined){
minHeight="300px";
Expand Down

0 comments on commit 7f17f57

Please sign in to comment.