mirror of
https://github.com/snachodog/tok-to-insta-follower-bridge.git
synced 2026-06-05 00:18:12 -06:00
✨ improve match logic
This commit is contained in:
@@ -86,7 +86,7 @@ const MatchTypeLabel = ({ matchType }: { matchType: typeof BSKY_USER_MATCH_TYPE[
|
||||
const [text, labelClass] = match(matchType)
|
||||
.with(
|
||||
BSKY_USER_MATCH_TYPE.HANDLE,
|
||||
() => ["Same handle", "match-type__handle"]
|
||||
() => ["Same handle name", "match-type__handle"]
|
||||
)
|
||||
.with(
|
||||
BSKY_USER_MATCH_TYPE.DISPLAY_NAME,
|
||||
@@ -94,7 +94,7 @@ const MatchTypeLabel = ({ matchType }: { matchType: typeof BSKY_USER_MATCH_TYPE[
|
||||
)
|
||||
.with(
|
||||
BSKY_USER_MATCH_TYPE.DESCRIPTION,
|
||||
() => ["Included handle or display name in description", "match-type__description"]
|
||||
() => ["Included handle name in description", "match-type__description"]
|
||||
)
|
||||
.run()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user