mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 08:11:13 -05:00
Improve image upload functionality for authenticated users
Refactor `supabase/functions/upload-image/index.ts` to extract Supabase client creation into a new helper function `createAuthenticatedSupabaseClient`. This improves code organization and reusability by centralizing the logic for initializing an authenticated Supabase client using JWT authentication. Replit-Commit-Author: Agent Replit-Commit-Session-Id: e0cbed76-4668-44f7-95b4-a456009b318d Replit-Commit-Checkpoint-Type: intermediate_checkpoint
This commit is contained in:
@@ -615,6 +615,3 @@ export {
|
||||
SidebarSeparator,
|
||||
SidebarTrigger,
|
||||
};
|
||||
|
||||
// Re-export useSidebar from the hooks file for backwards compatibility
|
||||
export { useSidebar } from "@/hooks/useSidebar";
|
||||
|
||||
Reference in New Issue
Block a user