chore: Update translations

This commit is contained in:
2024-08-21 11:13:12 +00:00
parent 855a87aadc
commit 2244bec695
5 changed files with 25 additions and 27 deletions

View File

@ -49,8 +49,7 @@ export function DashboardForLink({ link }: { link: NostrLink }) {
const provider = useMemo(() => (service ? new NostrStreamProvider("", service) : DefaultProvider), [service]);
const defaultEndpoint = useMemo(() => {
return info?.endpoints.find(a => a.name == (recording ? "Best" : "Good"))
?? info?.endpoints[0];
return info?.endpoints.find(a => a.name == (recording ? "Best" : "Good")) ?? info?.endpoints[0];
}, [info, recording]);
useEffect(() => {
@ -99,8 +98,9 @@ export function DashboardForLink({ link }: { link: NostrLink }) {
</h3>
<div className="uppercase font-semibold flex items-center gap-2">
<div
className={`w-3 h-3 rounded-full ${status === StreamState.Live ? "animate-pulse bg-green-500" : "bg-red-500"
}`}></div>
className={`w-3 h-3 rounded-full ${
status === StreamState.Live ? "animate-pulse bg-green-500" : "bg-red-500"
}`}></div>
{status === StreamState.Live ? (
<FormattedMessage defaultMessage="Started" />
) : (