diff --git a/apps/sim/app/workspace/[workspaceId]/chat/[chatId]/error.tsx b/apps/sim/app/workspace/[workspaceId]/chat/[chatId]/error.tsx new file mode 100644 index 00000000000..1ebfc47facb --- /dev/null +++ b/apps/sim/app/workspace/[workspaceId]/chat/[chatId]/error.tsx @@ -0,0 +1,15 @@ +'use client' + +import { type ErrorBoundaryProps, ErrorState } from '@/app/workspace/[workspaceId]/components' + +export default function ChatError({ error, reset }: ErrorBoundaryProps) { + return ( + + ) +} diff --git a/apps/sim/app/workspace/[workspaceId]/home/error.tsx b/apps/sim/app/workspace/[workspaceId]/home/error.tsx new file mode 100644 index 00000000000..03d205fdcd0 --- /dev/null +++ b/apps/sim/app/workspace/[workspaceId]/home/error.tsx @@ -0,0 +1,15 @@ +'use client' + +import { type ErrorBoundaryProps, ErrorState } from '@/app/workspace/[workspaceId]/components' + +export default function HomeError({ error, reset }: ErrorBoundaryProps) { + return ( + + ) +} diff --git a/apps/sim/app/workspace/[workspaceId]/integrations/error.tsx b/apps/sim/app/workspace/[workspaceId]/integrations/error.tsx new file mode 100644 index 00000000000..706d7eea055 --- /dev/null +++ b/apps/sim/app/workspace/[workspaceId]/integrations/error.tsx @@ -0,0 +1,15 @@ +'use client' + +import { type ErrorBoundaryProps, ErrorState } from '@/app/workspace/[workspaceId]/components' + +export default function IntegrationsError({ error, reset }: ErrorBoundaryProps) { + return ( + + ) +} diff --git a/apps/sim/app/workspace/[workspaceId]/knowledge/[id]/error.tsx b/apps/sim/app/workspace/[workspaceId]/knowledge/[id]/error.tsx new file mode 100644 index 00000000000..91dbaadb2c5 --- /dev/null +++ b/apps/sim/app/workspace/[workspaceId]/knowledge/[id]/error.tsx @@ -0,0 +1,15 @@ +'use client' + +import { type ErrorBoundaryProps, ErrorState } from '@/app/workspace/[workspaceId]/components' + +export default function KnowledgeBaseError({ error, reset }: ErrorBoundaryProps) { + return ( + + ) +} diff --git a/apps/sim/app/workspace/[workspaceId]/scheduled-tasks/error.tsx b/apps/sim/app/workspace/[workspaceId]/scheduled-tasks/error.tsx new file mode 100644 index 00000000000..4fc75c7b937 --- /dev/null +++ b/apps/sim/app/workspace/[workspaceId]/scheduled-tasks/error.tsx @@ -0,0 +1,15 @@ +'use client' + +import { type ErrorBoundaryProps, ErrorState } from '@/app/workspace/[workspaceId]/components' + +export default function ScheduledTasksError({ error, reset }: ErrorBoundaryProps) { + return ( + + ) +} diff --git a/apps/sim/app/workspace/[workspaceId]/settings/error.tsx b/apps/sim/app/workspace/[workspaceId]/settings/error.tsx new file mode 100644 index 00000000000..02a18fd3362 --- /dev/null +++ b/apps/sim/app/workspace/[workspaceId]/settings/error.tsx @@ -0,0 +1,15 @@ +'use client' + +import { type ErrorBoundaryProps, ErrorState } from '@/app/workspace/[workspaceId]/components' + +export default function SettingsError({ error, reset }: ErrorBoundaryProps) { + return ( + + ) +} diff --git a/apps/sim/app/workspace/[workspaceId]/skills/error.tsx b/apps/sim/app/workspace/[workspaceId]/skills/error.tsx new file mode 100644 index 00000000000..9a860682257 --- /dev/null +++ b/apps/sim/app/workspace/[workspaceId]/skills/error.tsx @@ -0,0 +1,15 @@ +'use client' + +import { type ErrorBoundaryProps, ErrorState } from '@/app/workspace/[workspaceId]/components' + +export default function SkillsError({ error, reset }: ErrorBoundaryProps) { + return ( + + ) +}