Skip to content

Commit

Permalink
Minor clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
brickpop committed Nov 27, 2024
1 parent 9fcd9ba commit ab10737
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions plugins/encryption/index.tsx
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
import EncryptionPage from "./pages/index";
import { useUrl } from "@/hooks/useUrl";
import { NotFound } from "@/components/not-found";
// import { Address } from "viem";

export default function PluginPage() {
// Select the inner pages to display depending on the URL hash
const { hash } = useUrl();

if (!hash || hash === "#/") return <EncryptionPage />;
// else if (hash.startsWith("#/delegates/")) {
// const address = hash.replace("#/delegates/", "") as Address;
// return <></>;
// }

// Default not found page
return <NotFound />;
Expand Down

0 comments on commit ab10737

Please sign in to comment.