From 6c1aae15b858ca523ee61ccbf364481f8311c19b Mon Sep 17 00:00:00 2001 From: Kjell Kind Date: Mon, 26 Oct 2026 23:22:41 +0100 Subject: [PATCH] chore: drop unused imports and rewrap the current user docblock Co-Authored-By: Claude Opus 5.5 --- app/Http/Resources/CurrentUserResource.php | 10 ++++++---- resources/js/components/profile-actions-menu.tsx | 1 - 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/app/Http/Resources/CurrentUserResource.php b/app/Http/Resources/CurrentUserResource.php index 2c80c9ce5..a1fb38cf5 100644 --- a/app/Http/Resources/CurrentUserResource.php +++ b/app/Http/Resources/CurrentUserResource.php @@ -10,10 +10,12 @@ use Illuminate\Http\Resources\Json\JsonResource; /** - * The signed-in user: their public profile, plus what only they see on the web's profile settings. That is the lane - * or custom color they chose (`null` for Automatic) and the one Automatic gives them, their GitHub Sponsors page, and when their profile - * was last mirrored from GitHub. The version of the terms in force, when they accepted, and whether it was this version, so the app knows to ask. Their Remotes are `null` while turned off, as the web hides them, and otherwise say who - * can push to them, whether they share pulls, what the site lets them choose, and the unread count the web's nav shows. + * The signed-in user: their public profile, plus what only they see on the web's profile settings. That is the lane or + * custom color they chose (`null` for Automatic) and the one Automatic gives them, their GitHub Sponsors page, and when + * their profile was last mirrored from GitHub. The version of the terms in force, when they accepted, and whether it + * was this version, so the app knows to ask. Their Remotes are `null` while turned off, as the web hides them, and + * otherwise say who can push to them, whether they share pulls, what the site lets them choose, and the unread count + * the web's nav shows. * * @mixin User */ diff --git a/resources/js/components/profile-actions-menu.tsx b/resources/js/components/profile-actions-menu.tsx index 3493706bb..ec2515e42 100644 --- a/resources/js/components/profile-actions-menu.tsx +++ b/resources/js/components/profile-actions-menu.tsx @@ -1,4 +1,3 @@ -import { Form, router } from '@inertiajs/react'; import { Ellipsis, Radio, RadioOff } from 'lucide-react'; import { useState } from 'react'; import { endStream, GoLiveDialog } from '@/components/go-live-dialog';