Skip to content

Commit

Permalink
reduce failure animations
Browse files Browse the repository at this point in the history
  • Loading branch information
tim0120 committed Nov 23, 2024
1 parent 2db573b commit 8c2ea4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/projects/EmojiSearch/LoadingAnimation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export default function LoadingAnimation({ status }: { status: 'loading' | 'fail
))}
</div>
<div className="text-sm text-center mt-2 text-gray-500">
{status === 'loading' ? `Searching${'.'.repeat((time % 3) + 1)}` : `Search failed, please try again${'!'.repeat((time % 3) + 1)}`}
{status === 'loading' ? `Searching${'.'.repeat((time % 3) + 1)}` : 'Search failed, please try again!'}
</div>
</>
);
Expand Down

0 comments on commit 8c2ea4d

Please sign in to comment.