This commit is contained in:
2025-12-18 14:30:19 +01:00
parent bf1f09c774
commit b476bb7e99
29 changed files with 273 additions and 307 deletions

View File

@@ -1,10 +1,10 @@
'use client';
import { useState } from 'react';
import { useRouter } from 'next/navigation';
import Button from '@/components/ui/Button';
import Input from '@/components/ui/Input';
import { useEffectiveDriverId } from '@/lib/currentDriver';
import { useEffectiveDriverId } from '@/hooks/useEffectiveDriverId';
import { useRouter } from 'next/navigation';
import { useState } from 'react';
interface CreateTeamFormProps {
onCancel?: () => void;

View File

@@ -1,8 +1,8 @@
'use client';
import { useState, useEffect } from 'react';
import Button from '@/components/ui/Button';
import { useEffectiveDriverId } from '@/lib/currentDriver';
import { useEffectiveDriverId } from '@/hooks/useEffectiveDriverId';
import { useEffect, useState } from 'react';
type TeamMembershipStatus = 'active' | 'pending' | 'inactive';