refactor: repartition server-side and client-side code
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { type ActionFunctionArgs, type LoaderFunctionArgs } from '@remix-run/node';
|
||||
import { requireAuth } from '~/lib/.server/auth';
|
||||
import { errorResponse } from '~/utils/api-response';
|
||||
import { requireAuth } from '~/.server/service/auth';
|
||||
import { errorResponse } from '~/.server/utils/api-response';
|
||||
import { handleDeleteAction } from './delete.server';
|
||||
import { handleForkAction } from './fork.server';
|
||||
import { handleListLoader } from './list.server';
|
||||
|
||||
Reference in New Issue
Block a user