diff --git a/package.json b/package.json index 10bf28c..9f61e9b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "sky-follower-bridge", "displayName": "Sky Follower Bridge", - "version": "1.0.1", + "version": "1.0.2", "description": "Instantly find and follow the same users from your Twitter follows on Bluesky.", "author": "kawamataryou", "scripts": { diff --git a/src/contents/App.tsx b/src/contents/App.tsx index c95a6e9..7e3fda4 100644 --- a/src/contents/App.tsx +++ b/src/contents/App.tsx @@ -1,16 +1,10 @@ import cssText from "data-text:~style.content.css"; -import type { AtpSessionData } from "@atproto/api"; import { sendToBackground } from "@plasmohq/messaging"; -import { getPort } from "@plasmohq/messaging/port"; import type { PlasmoCSConfig } from "plasmo"; import React from "react"; import AlertError from "~lib/components/AlertError"; -import AlertSuccess from "~lib/components/AlertSuccess"; import LoadingCards from "~lib/components/LoadingCards"; -import MatchTypeFilter from "~lib/components/MatchTypeFilter"; import Modal from "~lib/components/Modal"; -import UserCard from "~lib/components/UserCard"; -import UserCardSkeleton from "~lib/components/UserCardSkeleton"; import { MESSAGE_NAMES } from "~lib/constants"; import { useRetrieveBskyUsers } from "~lib/hooks/useRetrieveBskyUsers"; @@ -35,6 +29,7 @@ const App = () => { stopRetrieveLoop, restart, isBottomReached, + errorMessage, } = useRetrieveBskyUsers(); React.useEffect(() => { @@ -87,6 +82,7 @@ const App = () => {

Detected {users.length} users

+ {errorMessage && {errorMessage}} {loading && ( <>