fix: rename unused ctx params to _ctx, remove unused imports
Some checks failed
Workflow / ʦ TypeScript (push) Failing after 5m38s
Workflow / ⚫️ Test (push) Has been skipped

- Fix 17 unused ctx params in module-builder, verbandsverwaltung, sitzungsprotokolle actions
- Remove unused CardDescription/CardHeader/CardTitle from pricing calculator
- Remove unused FileSignature import from layout
This commit is contained in:
Zaid Marzguioui
2026-04-02 19:25:01 +02:00
parent a3be926f6f
commit a1aa1bee86
7 changed files with 17 additions and 21 deletions

View File

@@ -19,7 +19,7 @@ const REVALIDATE_PATH = '/home/[account]/verband';
export const linkChildAccount = authActionClient
.inputSchema(SetAccountParentSchema)
.action(async ({ parsedInput: input, ctx }) => {
.action(async ({ parsedInput: input, ctx: _ctx }) => {
const client = getSupabaseServerClient();
const logger = await getLogger();
@@ -69,7 +69,7 @@ export const linkChildAccount = authActionClient
export const unlinkChildAccount = authActionClient
.inputSchema(RemoveAccountParentSchema)
.action(async ({ parsedInput: input, ctx }) => {
.action(async ({ parsedInput: input, ctx: _ctx }) => {
const client = getSupabaseServerClient();
const logger = await getLogger();
@@ -141,7 +141,7 @@ export const getTransferPreview = authActionClient
export const transferMember = authActionClient
.inputSchema(TransferMemberSchema)
.action(async ({ parsedInput: input, ctx }) => {
.action(async ({ parsedInput: input, ctx: _ctx }) => {
const client = getSupabaseServerClient();
const logger = await getLogger();
const api = createVerbandApi(client);

View File

@@ -31,7 +31,7 @@ const REVALIDATE_PATH = '/home/[account]/verband';
export const createClub = authActionClient
.inputSchema(CreateMemberClubSchema)
.action(async ({ parsedInput: input, ctx }) => {
.action(async ({ parsedInput: input, ctx: _ctx }) => {
const client = getSupabaseServerClient();
const logger = await getLogger();
const api = createVerbandApi(client);
@@ -46,7 +46,7 @@ export const createClub = authActionClient
export const updateClub = authActionClient
.inputSchema(UpdateMemberClubSchema)
.action(async ({ parsedInput: input, ctx }) => {
.action(async ({ parsedInput: input, ctx: _ctx }) => {
const client = getSupabaseServerClient();
const logger = await getLogger();
const api = createVerbandApi(client);