Skip to content

Commit

Permalink
fix: remove any
Browse files Browse the repository at this point in the history
  • Loading branch information
ilteoood committed Aug 10, 2024
1 parent 8552d25 commit e9384e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/pinorama-studio/src/hooks/use-pinorama-styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { useQuery } from "@tanstack/react-query"

const PINORAMA_STYLES_ID = "pinorama-styles"

const insertStyle = (data: any) => {
const insertStyle = (data?: string) => {
if (!data) return

let styleElement = document.getElementById(
Expand All @@ -25,7 +25,7 @@ export const usePinoramaStyles = () => {
return useQuery({
queryKey: ["styles"],
queryFn: async () => {
const response: any = await client?.styles()
const response = await client?.styles()

insertStyle(response)

Expand Down

0 comments on commit e9384e6

Please sign in to comment.