mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-04-22 04:27:56 +00:00
fix: correct tiki role field name and update card header text
- GovernmentEntrance: changed tiki.tiki_type to tiki.tikiRole - Citizens: changed KOMARGEHA to KOMARI KURDISTAN
This commit is contained in:
@@ -408,7 +408,7 @@ export default function Citizens() {
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div className="text-white font-bold text-sm tracking-wider">KOMARGEHA KURDISTANÊ</div>
|
||||
<div className="text-white font-bold text-sm tracking-wider">KOMARÎ KURDISTAN</div>
|
||||
<div className="text-green-200 text-[10px] tracking-wide">REPUBLIC OF KURDISTAN</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -191,7 +191,7 @@ export default function GovernmentEntrance() {
|
||||
// KONTROL 2: Hükümet yetkili Tiki kontrolü
|
||||
const userTikis = nftDetails.roleNFTs || []; // DashboardContext'te roleNFTs olarak geliyor
|
||||
const hasAuthorizedTiki = userTikis.some(tiki =>
|
||||
GOVERNMENT_AUTHORIZED_TIKIS.includes(tiki.tiki_type)
|
||||
GOVERNMENT_AUTHORIZED_TIKIS.includes(tiki.tikiRole)
|
||||
);
|
||||
|
||||
if (!hasAuthorizedTiki) {
|
||||
|
||||
Reference in New Issue
Block a user