mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 05:31:16 -05:00
Fix Profile page type errors
This commit is contained in:
@@ -288,7 +288,7 @@ export type ActivityEntry =
|
||||
| RankingActivity
|
||||
| GenericActivity;
|
||||
|
||||
interface ReviewActivity {
|
||||
export interface ReviewActivity {
|
||||
id: string;
|
||||
type: 'review';
|
||||
created_at: string;
|
||||
@@ -300,7 +300,7 @@ interface ReviewActivity {
|
||||
description?: string;
|
||||
}
|
||||
|
||||
interface SubmissionActivity {
|
||||
export interface SubmissionActivity {
|
||||
id: string;
|
||||
type: 'submission';
|
||||
created_at: string;
|
||||
@@ -310,7 +310,7 @@ interface SubmissionActivity {
|
||||
action?: string;
|
||||
}
|
||||
|
||||
interface RankingActivity {
|
||||
export interface RankingActivity {
|
||||
id: string;
|
||||
type: 'ranking';
|
||||
created_at: string;
|
||||
@@ -319,7 +319,7 @@ interface RankingActivity {
|
||||
position?: number;
|
||||
}
|
||||
|
||||
interface GenericActivity {
|
||||
export interface GenericActivity {
|
||||
id: string;
|
||||
type?: string;
|
||||
created_at: string;
|
||||
|
||||
Reference in New Issue
Block a user