Skip to content

Commit

Permalink
chore: change to unknown
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderleegs committed Sep 27, 2023
1 parent 96d0ddd commit 8e0b017
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useDrag.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ type UpdateHomepageType =
| `textCardItem-${number}`

const isUpdateHomepageType = (
value: any
value: unknown
): value is UpdateHomepageType | EditorHomepageElement => {
if (typeof value === "string" && value.startsWith("textCardItem-")) {
const valArr = value.split("-")
Expand Down

0 comments on commit 8e0b017

Please sign in to comment.