Skip to content

Commit

Permalink
chore(alby): remove alby from apps #632
Browse files Browse the repository at this point in the history
  • Loading branch information
escapedcat committed Jul 28, 2023
1 parent 6d90fdc commit b4b86be
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 16 deletions.
11 changes: 5 additions & 6 deletions src/pages/Apps/AppCardAlby.tsx
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
import { PlusIcon, LinkIcon } from "@heroicons/react/24/outline";
import { FC } from "react";
import { useTranslation } from "react-i18next";
import { App } from "../..//models/app.model";
import AppIcon from "../../components/AppIcon";
import { toast } from "react-toastify";
import { instance } from "../../utils/interceptor";

export type Props = {
appInfo: App;
};
export const AppCardAlby: FC = () => {
const { id, name } = {
id: "alby",
name: "Alby",
};

export const AppCardAlby: FC<Props> = ({ appInfo }) => {
const { id, name } = appInfo;
const { t } = useTranslation();

const addAlbyAccountHandler = async () => {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Apps/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export const Apps: FC = () => {
})}

<article>
<AppCardAlby appInfo={availableApps.get("alby")!} />
<AppCardAlby />
</article>
</div>
</section>
Expand Down
9 changes: 0 additions & 9 deletions src/utils/availableApps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,4 @@ export const availableApps: Map<string, App> = new Map([
repository: "https://github.com/joinmarket-webui/jam",
},
],
[
"alby",
{
id: "alby",
name: "Alby",
author: "Alby Team",
repository: "https://github.com/getAlby/lightning-browser-extension",
},
],
]);

0 comments on commit b4b86be

Please sign in to comment.