fix: modified variable name as required and added comment

This commit is contained in:
RaktimaNXG
2023-12-21 15:14:29 +05:30
parent fefcdf6ffc
commit d400c843e4
6 changed files with 239 additions and 230 deletions
@@ -301,11 +301,11 @@ function RenderPdf({
);
};
const BlockDesign = ({ pos, data }) => {
const PlaceholderDesign = ({ pos, data }) => {
return (
<div>
<i
class="fa-regular fa-copy signCopy"
className="fa-regular fa-copy signCopy"
onClick={(e) => {
console.log("hello console");
e.stopPropagation();
@@ -317,7 +317,7 @@ function RenderPdf({
}}
></i>
<i
class="fa-regular fa-circle-xmark signCloseBtn"
className="fa-regular fa-circle-xmark signCloseBtn"
onClick={(e) => {
e.stopPropagation();
if (data) {
@@ -1189,8 +1189,7 @@ function RenderPdf({
>
<BorderResize right={-12} top={-11} />
<PlaceholderBorder pos={pos} />
<BlockDesign pos={pos} />
<PlaceholderDesign pos={pos} />
</Rnd>
)
);