Ping module overall

Removed useless code leftover
This commit is contained in:
ajnart
2022-12-01 01:35:17 +09:00
parent 2354399117
commit b2f5149527
4 changed files with 4 additions and 62 deletions

View File

@@ -62,7 +62,7 @@ export default function PingComponent(props: any) {
<motion.div
style={{ position: 'absolute', bottom: 20, right: 20 }}
animate={{
scale: isOnline === 'online' ? [1, 0.8, 1] : 1,
scale: isOnline === 'online' ? [1, 0.7, 1] : 1,
}}
transition={{ repeat: Infinity, duration: 2.5, ease: 'easeInOut' }}
>
@@ -78,7 +78,7 @@ export default function PingComponent(props: any) {
}
>
<Indicator
size={13}
size={15}
color={isOnline === 'online' ? 'green' : isOnline === 'down' ? 'red' : 'yellow'}
>
{null}