feat: integrate public settings into Play Rules screen and update button properties

- Added functionality to fetch and display dynamic rules content in the Play Rules screen.
- Updated button components in HallBetResultDialog and WinningResultDialog to include nativeButton property for improved behavior.
This commit is contained in:
2026-05-22 16:11:58 +08:00
parent b61a2ab07b
commit 52702c9fbb
5 changed files with 58 additions and 167 deletions

View File

@@ -286,6 +286,7 @@ function WinningResultDialog({
<div className="mt-5 grid gap-3">
<Button
type="button"
nativeButton={false}
className="h-12 rounded-xl bg-[#07459f] text-base font-black text-white hover:bg-[#063b88]"
render={<Link href={`/orders?draw_no=${encodeURIComponent(data.draw.draw_no)}&number=${encodeURIComponent(query)}`} />}
>