Skip to content

Commit d40236e

Browse files
committed
chore: remove create currency when in user context
1 parent acf3c4a commit d40236e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎platforms/eCurrency/client/src/pages/dashboard.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ export default function Dashboard() {
225225

226226
{/* Action Buttons Below Cards */}
227227
<div className="flex gap-3 mb-8">
228-
{hasAdminGroups && (
228+
{hasAdminGroups && accountContext?.type === "group" && (
229229
<button
230230
onClick={() => setCreateCurrencyOpen(true)}
231231
className="px-6 py-3 bg-secondary text-secondary-foreground rounded-lg hover:opacity-90 flex items-center gap-2"

0 commit comments

Comments
 (0)