openhands / src /components /features /automations /git-sync /git-sync-not-local-state.tsx
SaylorTwift's picture
SaylorTwift HF Staff
Add files using upload-large-folder tool
3201ca6 verified
Raw History Blame Contribute Delete
806 Bytes
import { useTranslation } from "react-i18next";
import { I18nKey } from "#/i18n/declaration";
import ExclamationCircleIcon from "#/icons/exclamation-circle.svg?react";
import { BackLink } from "#/components/features/automations/detail/back-link";
export function GitSyncNotLocalState() {
const { t } = useTranslation("openhands");
return (
<div className="flex flex-col items-center justify-center py-20">
<ExclamationCircleIcon className="size-12 text-muted" />
<p className="mt-4 text-sm font-medium text-content">
{t(I18nKey.AUTOMATIONS$GIT_SYNC$NOT_LOCAL_TITLE)}
</p>
<p className="mt-2 text-sm text-muted">
{t(I18nKey.AUTOMATIONS$GIT_SYNC$NOT_LOCAL_MESSAGE)}
</p>
<div className="mt-6">
<BackLink />
</div>
</div>
);
}