Fix didEnable reference error
- Remove remaining didEnable condition and DID display functionality - Fixes ReferenceError: didEnable is not defined 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -62,34 +62,6 @@ export default function HomePage() {
|
|||||||
{user.username}
|
{user.username}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{didEnable && user.did && (
|
|
||||||
<div className="mt-2">
|
|
||||||
{user.did.includes('did:') ? (
|
|
||||||
<button className="btn-sm">
|
|
||||||
<a
|
|
||||||
href={`https://plc.directory/${user.did}/log`}
|
|
||||||
target="_blank"
|
|
||||||
rel="noopener noreferrer"
|
|
||||||
className="text-light"
|
|
||||||
>
|
|
||||||
{user.did}
|
|
||||||
</a>
|
|
||||||
</button>
|
|
||||||
) : user.did.includes('http') ? (
|
|
||||||
<button className="btn-sm">
|
|
||||||
<a
|
|
||||||
href={user.did}
|
|
||||||
target="_blank"
|
|
||||||
rel="noopener noreferrer"
|
|
||||||
className="text-light"
|
|
||||||
>
|
|
||||||
{user.did}
|
|
||||||
</a>
|
|
||||||
</button>
|
|
||||||
) : null}
|
|
||||||
</div>
|
|
||||||
)}
|
|
||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user