fixed small compiler warnings

This commit is contained in:
Anton 2024-01-01 21:21:23 +01:00
parent eaa7eea7f5
commit 7cb7c0e002
3 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
import { useEffect, useState } from 'react'
import { useState } from 'react'
type ChapterProps = {
clickAction?: () => void

View File

@ -15,6 +15,7 @@ export type Place = {
position?: Point;
picture: string;
subname: string;
[key: string]: any;
};
export type Tag = {

View File

@ -15,7 +15,7 @@ export default function Projects() {
const loadProjects = async () => {
const projects = await projectsApi?.getItems();
setProjects(projects as Project[]);
setProjects(projects as any);
}
useEffect(() => {