Added website and team providers.

This commit is contained in:
Mike Cao 2024-02-04 19:53:06 -08:00
parent dbb3801e66
commit cc273092d5
25 changed files with 123 additions and 98 deletions

View file

@ -8,7 +8,7 @@ import {
Button,
SubmitButton,
} from 'react-basics';
import { touch } from 'store/cache';
import { touch } from 'store/modified';
import { useApi, useMessages } from 'components/hooks';
export function TeamAddForm({ onSave, onClose }: { onSave: () => void; onClose: () => void }) {

View file

@ -1,6 +1,6 @@
'use client';
import { useApi, useMessages } from 'components/hooks';
import { touch } from 'store/cache';
import { touch } from 'store/modified';
import TypeConfirmationForm from 'components/common/TypeConfirmationForm';
const CONFIRM_VALUE = 'DELETE';

View file

@ -10,7 +10,7 @@ import {
SubmitButton,
} from 'react-basics';
import { useApi, useMessages } from 'components/hooks';
import { touch } from 'store/cache';
import { touch } from 'store/modified';
export function TeamJoinForm({ onSave, onClose }: { onSave: () => void; onClose: () => void }) {
const { formatMessage, labels, getMessage } = useMessages();

View file

@ -1,6 +1,6 @@
'use client';
import { useApi, useMessages } from 'components/hooks';
import { touch } from 'store/cache';
import { touch } from 'store/modified';
import ConfirmationForm from 'components/common/ConfirmationForm';
export function TeamLeaveForm({

View file

@ -1,7 +1,7 @@
'use client';
import { useApi, useMessages } from 'components/hooks';
import { Icon, Icons, LoadingButton, Text } from 'react-basics';
import { touch } from 'store/cache';
import { touch } from 'store/modified';
export function TeamMemberRemoveButton({
teamId,