refactor: some renaming and corrections

This commit is contained in:
Riccardo
2023-12-19 19:21:45 +01:00
parent c639f55067
commit 146ea54d71
18 changed files with 169 additions and 7545 deletions

View File

@@ -1,11 +1,11 @@
import { useEffect, useState } from 'react';
import { z } from 'zod';
import { NewsSchema } from '../../../../utils/schemas';
import { NewsTileSchema } from '../../../../utils/schemas';
import { TileContent } from './tileContent';
type CardProps = {
newsA?: z.infer<typeof NewsSchema>;
newsB?: z.infer<typeof NewsSchema>;
newsA?: z.infer<typeof NewsTileSchema>;
newsB?: z.infer<typeof NewsTileSchema>;
};
export function Tile({ newsA, newsB }: CardProps) {