From 709038cb0ef3c099c0d538f702ac27e7d07d7553 Mon Sep 17 00:00:00 2001 From: Tristian Kelly Date: Wed, 22 Nov 2023 12:31:01 -0600 Subject: [PATCH] fix typing, delete unused variables --- extensions/flags/js/dist-typings/forum/states/FlagListState.d.ts | 1 + extensions/flags/js/src/forum/states/FlagListState.tsx | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/flags/js/dist-typings/forum/states/FlagListState.d.ts b/extensions/flags/js/dist-typings/forum/states/FlagListState.d.ts index d704612162..22c4bd4f4c 100644 --- a/extensions/flags/js/dist-typings/forum/states/FlagListState.d.ts +++ b/extensions/flags/js/dist-typings/forum/states/FlagListState.d.ts @@ -6,6 +6,7 @@ export default class FlagListState extends PaginatedListState { app: ForumApplication; constructor(app: ForumApplication); + get type(): string; /** * Load flags into the application's cache if they haven't already * been loaded. diff --git a/extensions/flags/js/src/forum/states/FlagListState.tsx b/extensions/flags/js/src/forum/states/FlagListState.tsx index 872a6e7c21..95708ba4c2 100644 --- a/extensions/flags/js/src/forum/states/FlagListState.tsx +++ b/extensions/flags/js/src/forum/states/FlagListState.tsx @@ -1,6 +1,5 @@ import type ForumApplication from 'flarum/forum/ForumApplication'; import type Flag from '../models/Flag'; -import type Post from 'flarum/common/models/Post'; import PaginatedListState from 'flarum/common/states/PaginatedListState'; export default class FlagListState extends PaginatedListState {