import { useEffect, useState } from '@wordpress/element';
import { __ } from '@wordpress/i18n';
import classNames from 'classnames';
import { CheckboxInputCard } from '@launch/components/CheckboxInputCard';
import { LoadingIndicator } from '@launch/components/LoadingIndicator';
import { Title } from '@launch/components/Title';
import { useGoals } from '@launch/hooks/useGoals';
import { PageLayout } from '@launch/layouts/PageLayout';
import { usePagesStore } from '@launch/state/Pages';
import { pageState } from '@launch/state/factory';
import { useUserSelectionStore } from '@launch/state/user-selections';
import * as IconComponents from '@launch/svg';
export const state = pageState('Goals', () => ({
title: __('Goals', 'extendify-local'),
ready: false,
canSkip: false,
useNav: true,
onRemove: () => {},
}));
export const Goals = () => {
const { loading, goals } = useGoals();
return (