Update grid layout, refetch interval, and image handling

Adjusted the grid column behavior for medium screens in event themes and commented out unused badge rendering. Updated the image uploader to handle `existingImage` using the server URL and added debugging output. Modified the event theme context to use a fixed refetch interval of 60 seconds.
This commit is contained in:
2025-03-14 02:00:41 +01:00
parent b7a9e3f981
commit 3244fd8beb
3 changed files with 15 additions and 11 deletions

View File

@@ -98,7 +98,7 @@ export const EventThemesProvider: React.FC<EventThemesProviderProps> = ({
} = useQuery({
...listEventThemesOptions(),
refetchOnWindowFocus: "always",
refetchIntervalInBackground: true,
refetchInterval: 60000,
});
// Fetch specific theme