Skip to content

Commit

Permalink
more linting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jakewrfoster committed May 1, 2024
1 parent ba15d0e commit 9d73989
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions blocks/condition/edit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ export default function Edit({

// Fetch and set the Conditions data.
useEffect(() => {
apiFetch({path: '/conditional-blocks/v1/get-conditions/'})
apiFetch({ path: '/conditional-blocks/v1/get-conditions/' })
.then((response: any) => {
if (Array.isArray(response.message) && response.message.length > 0) {
const nextConditions = response.message.map((condition: Condition) => ({
const nextConditions = response.message.map((condition) => ({

Check failure on line 46 in blocks/condition/edit.tsx

View workflow job for this annotation

GitHub Actions / node-tests / Install, build, and test

Parameter 'condition' implicitly has an 'any' type.
value: condition.slug ?? '',
label: condition.name ?? '',
}));
Expand Down

0 comments on commit 9d73989

Please sign in to comment.