fix: self-hosting
This commit is contained in:
@@ -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`,
|
||||
|
||||
@@ -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>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user