Skip to content

Commit

Permalink
fix ts error of unused var in admin/dashboard (#430)
Browse files Browse the repository at this point in the history
  • Loading branch information
juancwu authored Feb 5, 2025
2 parents 72acdae + ead705a commit 454321f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/pages/admin/_auth/_appshell/dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const Route = createFileRoute('/admin/_auth/_appshell/dashboard')({
function RouteComponent() {
const { accessToken } = useAuth();
const [projects, setProjects] = useState<Project[]>([]);
const [company, setCompany] = useState<CompanyResponse | null>(null);
const [_, setCompany] = useState<CompanyResponse | null>(null);
const [loading, setLoading] = useState(true);
const [error, setError] = useState<string | null>(null);

Expand Down Expand Up @@ -81,4 +81,4 @@ function RouteComponent() {
)}
</div>
);
}
}

0 comments on commit 454321f

Please sign in to comment.