Skip to content

Commit

Permalink
ci: Run manually
Browse files Browse the repository at this point in the history
  • Loading branch information
rosethorn999 committed Dec 24, 2023
1 parent a3818c7 commit b1165b1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Deploy

on:
workflow_dispatch:
push:
tags:
- 'v[0-9].[0-9]+.[0-9]+'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
import { useTranslation } from '../../../i18n';
import { ContractBase } from './ContractBase';
import { Contract } from '@/app/types/type';

export const ContractBox = async ({ lng, fitXs = false, r }) => {
async function ContractBox({
lng,
fitXs = false,
r,
}: {
lng: string;
fitXs: boolean;
r: Contract;
}) {
// eslint-disable-next-line react-hooks/rules-of-hooks
const { t } = await useTranslation(lng, 'contracts');

return <ContractBase t={t} r={r} fitXs={fitXs} />;
};
}
export default ContractBox;

0 comments on commit b1165b1

Please sign in to comment.