update src/components/Dialog/index.js

temp
mahdi 2 years ago
parent f7f61934cb
commit 6bfddd2b10
  1. 6
      src/components/Dialog/index.js

@ -52,13 +52,13 @@ export const Dialog = ({ dialog, setDialog }) => {
className="py-2.5 w-1/2 shadow-md rounded-sm bg-blueC0 text-white"
onClick={() => acceptFunc()}
>
باشه
{window.t("باشه")}
</button>
<button
className="py-2.5 w-1/2 shadow-md rounded-sm bg-redFF1 text-white"
onClick={() => setDialog({ ...dialog, open: !dialog.open })}
>
بیخیال
{window.t("بیخیال")}
</button>
</div>
)}
@ -68,7 +68,7 @@ export const Dialog = ({ dialog, setDialog }) => {
className="py-2.5 w-full shadow-md rounded-sm bg-blue-400 text-white"
onClick={() => setDialog({ ...dialog, open: !dialog.open })}
>
باشه
{window.t("باشه")}
</button>
</div>
)}

Loading…
Cancel
Save