Skip to content
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.

Commit

Permalink
update build#01
Browse files Browse the repository at this point in the history
  • Loading branch information
0xJonaseb11 committed Oct 26, 2024
1 parent 278a3d4 commit a5cdb03
Show file tree
Hide file tree
Showing 6 changed files with 544 additions and 592 deletions.
Binary file modified .yarn/install-state.gz
Binary file not shown.
7 changes: 4 additions & 3 deletions packages/nextjs/app/(app)/account/page.client.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
/* eslint-disable prettier/prettier */
"use client";

import { useState } from "react";
import { Address } from "viem";
import { useAccount, useDisconnect } from "wagmi";
import { Balance } from "~~/components/scaffold-eth";
import { AddressQRCodeModal } from "~~/components/scaffold-eth/RainbowKitCustomConnectButton/AddressQRCodeModal";
// import { AddressInput } from "~~/components/scaffold-eth";
import { AddressInput } from "~~/components/scaffold-eth";
// import { Address } from "~~/components/scaffold-eth";

export const AccountPageClient: React.FC = () => {
const { address: connectedAddress } = useAccount();
const { disconnect } = useDisconnect();
// onst [address, setAddress] = useState("");
const [address, setAddress] = useState("");

return (
<div>
Expand Down
3 changes: 1 addition & 2 deletions packages/nextjs/app/blockexplorer/address/[address]/page.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

import fs from "fs";
import path from "path";
import { hardhat } from "viem/chains";
Expand Down Expand Up @@ -92,4 +91,4 @@ const AddressPage = async ({ params }: PageProps) => {
return <AddressComponent address={address} contractData={contractData} />;
};

export default AddressPage;
export default AddressPage;
8 changes: 5 additions & 3 deletions packages/nextjs/components/dashboard/ClaimRoleCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ const roles = [
{ label: "Miner", role: "MINER" },
{ label: "Transporter", role: "TRANSPORTER" },
{ label: "Auditor", role: "AUDITOR" },
{ label: "Inspector", role: "Inspector" },
{ label: "Inspector", role: "INSPECTOR" },
];

export const ClaimRoleCard: React.FC = () => {
return (
<div className="flex flex-col max-w-72 gap-4 bg-neutral-100 px-6 py-4 rounded-xl shadow">
<p className="text-2xl text-center text-neutral-800">Congluations!</p>
<p className="text-2xl text-center text-neutral-800">Congratulations!</p>
<p className="text-center text-neutral-500">
Claim a role that will be used to identify you in Stoneproof platform.
</p>
Expand All @@ -23,7 +23,9 @@ export const ClaimRoleCard: React.FC = () => {
</SelectTrigger>
<SelectContent className="bg-white">
{roles.map(role => (
<SelectItem value={role.role}>{role.label}</SelectItem>
<SelectItem key={role.role} value={role.role}>
{role.label}
</SelectItem>
))}
</SelectContent>
</Select>
Expand Down
Loading

0 comments on commit a5cdb03

Please sign in to comment.