Add Samsung Browser Icon to Sessions

This commit is contained in:
Snazzah 2021-09-04 14:59:56 +00:00 committed by GitHub
parent 240a60919a
commit 20bcc96ab3

View file

@ -7,6 +7,7 @@ import {
Linux,
Macos,
Opera,
Samsung,
} from "@styled-icons/simple-icons";
import relativeTime from "dayjs/plugin/relativeTime";
import { useHistory } from "react-router-dom";
@ -74,6 +75,8 @@ export function Sessions() {
return <Microsoftedge size={32} />;
case /opera/i.test(name):
return <Opera size={32} />;
case /samsung/i.test(name):
return <Samsung size={32} />;
case /desktop/i.test(name):
return <Desktop size={32} />;
default: