From aad14c9d0f648b34d8170798d0f863eb385c5f94 Mon Sep 17 00:00:00 2001 From: Stivenjs Date: Thu, 8 May 2025 23:24:28 -0500 Subject: [PATCH] refactor: update import paths for consistency Updated import paths in multiple files to ensure consistency with the project's directory structure. This change aligns the imports with the correct layout folders, improving maintainability and reducing potential errors. --- app/(main-layout)/terms/components/LegalDocuments.tsx | 2 +- app/(setup-layout)/first-steps/page.tsx | 2 +- utils/ConfigureAmplify.tsx | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/(main-layout)/terms/components/LegalDocuments.tsx b/app/(main-layout)/terms/components/LegalDocuments.tsx index c134d7e6..42f0cb76 100644 --- a/app/(main-layout)/terms/components/LegalDocuments.tsx +++ b/app/(main-layout)/terms/components/LegalDocuments.tsx @@ -4,7 +4,7 @@ import { useState } from 'react' import { cn } from '@/lib/utils' import { Button } from '@/components/ui/button' import { ScrollArea } from '@/components/ui/scroll-area' -import legalContent from '@/app/(with-navbar)/terms/components/legal-content.json' +import legalContent from '@/app/(main-layout)/terms/components/legal-content.json' export function LegalDocuments() { const [activeDocument, setActiveDocument] = useState<'terms' | 'privacy'>('terms') diff --git a/app/(setup-layout)/first-steps/page.tsx b/app/(setup-layout)/first-steps/page.tsx index e92084ac..a2c37676 100644 --- a/app/(setup-layout)/first-steps/page.tsx +++ b/app/(setup-layout)/first-steps/page.tsx @@ -20,7 +20,7 @@ import { useAuthUser } from '@/hooks/auth/useAuthUser' import { v4 as uuidv4 } from 'uuid' import { routes } from '@/utils/routes' import { useApiKeyEncryption } from '@/app/(setup-layout)/first-steps/hooks/useApiKeyEncryption' -import sellingOptions from '@/app/(without-navbar)/first-steps/data/selling-options.json' +import sellingOptions from '@/app/(setup-layout)/first-steps/data/selling-options.json' export default function FirstStepsPage() { const [step, setStep] = useState(1) diff --git a/utils/ConfigureAmplify.tsx b/utils/ConfigureAmplify.tsx index 7aa1f4c7..1148df50 100644 --- a/utils/ConfigureAmplify.tsx +++ b/utils/ConfigureAmplify.tsx @@ -1,7 +1,6 @@ 'use client' import { Amplify } from 'aws-amplify' - import outputs from '@/amplify_outputs.json' Amplify.configure(outputs, { ssr: true })