Skip to content

Commit a26425b

Browse files
committed
♻️ Fixes after self-review
1 parent 5d7c140 commit a26425b

File tree

4 files changed

+3
-25
lines changed

4 files changed

+3
-25
lines changed

src/components/fin/metricSlider/carboneTotalChart/AnimatedArrowServer.tsx

Lines changed: 0 additions & 23 deletions
This file was deleted.

src/components/groups/Groups.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ export default function Groups({ groups, locale }: Props) {
3434
<GroupContent groups={groups} />
3535
</div>
3636

37+
{/* Desktop */}
3738
<CTACard
3839
href="/mon-espace/groupes/creer"
3940
className="hidden md:block"
@@ -49,6 +50,7 @@ export default function Groups({ groups, locale }: Props) {
4950
ctaClassName="min-w-64"
5051
/>
5152

53+
{/* Mobile */}
5254
<Link
5355
href="/mon-espace/groupes/creer"
5456
className={twMerge(

src/helpers/groups/fetchUserGroups.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ export async function fetchUserGroups(userId: string) {
1313

1414
return { groups: data, isError: false }
1515
} catch (error) {
16-
console.error(error)
1716
captureException(error)
1817
return { groups: [], isError: true }
1918
}

src/helpers/organisations/fetchOrganisations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { ORGANISATION_URL } from '@/constants/urls/main'
33
export async function fetchOrganisations() {
44
try {
55
const response = await fetch(ORGANISATION_URL, { credentials: 'include' })
6-
console.log(response)
6+
77
if (!response.ok) {
88
throw new Error('Failed to fetch organisations')
99
}

0 commit comments

Comments
 (0)