diff --git a/.cursorrules b/.cursorrules index 37055b2..19db8fe 100644 --- a/.cursorrules +++ b/.cursorrules @@ -35,9 +35,8 @@ "message": "Use explicit return types for all functions" }, { - "id": "absolute-imports", - "pattern": "from '[./]", - "message": "Use absolute imports (@/...) instead of relative imports" + "id": "relative-imports", + "message": "Use relative imports" } ] }, diff --git a/src/pages/story/StoryPage.tsx b/src/pages/story/StoryPage.tsx index 36f1104..d9aaa05 100644 --- a/src/pages/story/StoryPage.tsx +++ b/src/pages/story/StoryPage.tsx @@ -1,4 +1,5 @@ -import { AudioRecorder } from '@/components/story/AudioRecorder'; +import { AudioRecorder } from '../../components/story/AudioRecorder'; +import { supabase } from '../../lib/supabase'; export function StoryPage() { // ... outros códigos ...