Skip to content
Snippets Groups Projects
Commit 42ce4585 authored by Dima Rifai's avatar Dima Rifai
Browse files

Issue #399 - Show buttons only if the user in a witness

parent 5ae19466
No related branches found
No related tags found
1 merge request!532Delrifai/#399 cannot read string error
......@@ -209,7 +209,7 @@ const AccountMainCard: React.FC<AccountMainCardProps> = ({
</div>
</div>
</CardContent>
{!isWitnessError && !isWitnessLoading && (
{accountDetails.is_witness && !isWitnessError && !isWitnessLoading && (
<CardFooter>
<div className="w-full flex justify-between">
<button
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment