mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 03:59:50 +02:00
feat: more progress
This commit is contained in:
1 parent
f30e9f810e
commit
636c54aa36
7 files changed
+18
-8
No files matched your search
@@ -0,0 +1,5 @@
|
||||
import { PROVIDERS } from './page';
|
||||
|
||||
export async function generateStaticParams() {
|
||||
return PROVIDERS.map((provider) => ({ provider }));
|
||||
}
|
||||
@@ -6,6 +6,8 @@ import { useEffect } from 'react';
|
||||
import PageWrapper from '../../../components/PageWrapper';
|
||||
import * as App from '../../../stores/app';
|
||||
|
||||
export const PROVIDERS = ['wargaming', 'patreon'];
|
||||
|
||||
export interface PatreonAuthResponse {
|
||||
access_token: string;
|
||||
expires_in: number;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { TankVotes } from '@blitzkit/core';
|
||||
import { useEffect, useState } from 'react';
|
||||
import { TankVotes } from '../app/api/tank-voting/[id]/average/route';
|
||||
import { unwrapBlitzkitResponse } from '../core/blitzkit/unwrapBlitzkitResponse';
|
||||
import * as App from '../stores/app';
|
||||
|
||||
|
||||
Reference in new issue
Block a user