mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
fixed small compiler warnings
This commit is contained in:
parent
eaa7eea7f5
commit
7cb7c0e002
@ -1,4 +1,4 @@
|
||||
import { useEffect, useState } from 'react'
|
||||
import { useState } from 'react'
|
||||
|
||||
type ChapterProps = {
|
||||
clickAction?: () => void
|
||||
|
||||
@ -15,6 +15,7 @@ export type Place = {
|
||||
position?: Point;
|
||||
picture: string;
|
||||
subname: string;
|
||||
[key: string]: any;
|
||||
};
|
||||
|
||||
export type Tag = {
|
||||
|
||||
@ -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(() => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user