fix: self-hosting

This commit is contained in:
Carl-Gerhard Lindesvärd
2025-10-22 11:56:27 +02:00
parent 42d0fb8572
commit 49a4f5b8ae
7 changed files with 25 additions and 13 deletions

View File

@@ -18,12 +18,7 @@ type Props = {
onVerified: (verified: boolean) => void;
};
const VerifyListener = ({
client,
events: _events,
onVerified,
project,
}: Props) => {
const VerifyListener = ({ client, events: _events, onVerified }: Props) => {
const [events, setEvents] = useState<IServiceEvent[]>(_events ?? []);
useWS<IServiceEvent>(
`/live/events/${client?.projectId}?type=received`,

View File

@@ -130,10 +130,10 @@ export function SidebarContainer({
>
{children}
<div className="mt-auto w-full ">
<div className="mt-auto w-full pt-6">
<FeedbackButton />
{isSelfHosted && (
<div className={cn('text-sm w-full text-center')}>
<div className={cn('text-sm w-full text-left mt-2')}>
Self-hosted instance
</div>
)}