mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-24 22:11:13 -05:00
Refactor: Uniformly use AuthModalContext
This commit is contained in:
@@ -238,8 +238,6 @@ export default function Parks() {
|
||||
};
|
||||
|
||||
const handleParkSubmit = async (parkData: any) => {
|
||||
if (!user) return;
|
||||
|
||||
try {
|
||||
const { submitParkCreation } = await import('@/lib/entitySubmissionHelpers');
|
||||
await submitParkCreation(parkData, user.id);
|
||||
|
||||
Reference in New Issue
Block a user