Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions apps/sim/app/(auth)/components/social-login-buttons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { GithubIcon, GoogleIcon } from '@/components/icons'
import { Button } from '@/components/ui/button'
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from '@/components/ui/tooltip'
import { client } from '@/lib/auth-client'
import { useNotificationStore } from '@/stores/notifications/store'

interface SocialLoginButtonsProps {
githubAvailable: boolean
Expand All @@ -22,7 +21,6 @@ export function SocialLoginButtons({
}: SocialLoginButtonsProps) {
const [isGithubLoading, setIsGithubLoading] = useState(false)
const [isGoogleLoading, setIsGoogleLoading] = useState(false)
const { addNotification } = useNotificationStore()
const [mounted, setMounted] = useState(false)

// Set mounted state to true on client-side
Expand Down Expand Up @@ -57,8 +55,6 @@ export function SocialLoginButtons({
} else if (err.message?.includes('rate limit')) {
errorMessage = 'Too many attempts. Please try again later.'
}

addNotification('error', errorMessage, null)
} finally {
setIsGithubLoading(false)
}
Expand Down Expand Up @@ -89,8 +85,6 @@ export function SocialLoginButtons({
} else if (err.message?.includes('rate limit')) {
errorMessage = 'Too many attempts. Please try again later.'
}

addNotification('error', errorMessage, null)
} finally {
setIsGoogleLoading(false)
}
Expand Down
6 changes: 0 additions & 6 deletions apps/sim/app/(auth)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import Image from 'next/image'
import Link from 'next/link'
import { GridPattern } from '../(landing)/components/grid-pattern'
import { NotificationList } from '../workspace/[workspaceId]/w/[workflowId]/components/notifications/notifications'

export default function AuthLayout({ children }: { children: React.ReactNode }) {
return (
Expand Down Expand Up @@ -31,11 +30,6 @@ export default function AuthLayout({ children }: { children: React.ReactNode })
<div className='relative z-10 flex flex-1 items-center justify-center px-4 pb-6'>
<div className='w-full max-w-md'>{children}</div>
</div>

{/* Notifications */}
<div className='fixed right-4 bottom-4 z-50'>
<NotificationList />
</div>
</main>
)
}
9 changes: 0 additions & 9 deletions apps/sim/app/(auth)/verify/use-verification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { useRouter, useSearchParams } from 'next/navigation'
import { client } from '@/lib/auth-client'
import { env, isTruthy } from '@/lib/env'
import { createLogger } from '@/lib/logs/console-logger'
import { useNotificationStore } from '@/stores/notifications/store'

const logger = createLogger('useVerification')

Expand Down Expand Up @@ -35,7 +34,6 @@ export function useVerification({
}: UseVerificationParams): UseVerificationReturn {
const router = useRouter()
const searchParams = useSearchParams()
const { addNotification } = useNotificationStore()
const [otp, setOtp] = useState('')
const [email, setEmail] = useState('')
const [isLoading, setIsLoading] = useState(false)
Expand All @@ -46,13 +44,6 @@ export function useVerification({
const [redirectUrl, setRedirectUrl] = useState<string | null>(null)
const [isInviteFlow, setIsInviteFlow] = useState(false)

// Debug notification store
useEffect(() => {
logger.info('Notification store state:', {
addNotification: !!addNotification,
})
}, [addNotification])

useEffect(() => {
if (typeof window !== 'undefined') {
// Get stored email
Expand Down
56 changes: 0 additions & 56 deletions apps/sim/app/api/marketplace/[id]/info/route.ts

This file was deleted.

108 changes: 0 additions & 108 deletions apps/sim/app/api/marketplace/[id]/unpublish/route.ts

This file was deleted.

57 changes: 0 additions & 57 deletions apps/sim/app/api/marketplace/[id]/view/route.ts

This file was deleted.

Loading