mirror of
https://github.com/ShayManor/github-readme-stats.git
synced 2026-12-02 11:53:48 +05:30
feat(frontend): App fetches /me, removes editToken plumbing
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
b2baded94a
commit
8ccc0af1cf
@@ -2,6 +2,7 @@ import { useState, useMemo, type ReactNode } from 'react'
|
||||
import DOMPurify from 'dompurify'
|
||||
import type { WidgetSettings, Achievement, PerWidgetSettings } from '../App'
|
||||
import { renderAllWidgets, type WidgetData } from '../lib/renderWidgets'
|
||||
import type { Me } from '../lib/auth'
|
||||
|
||||
// Defense-in-depth: the client-rendered preview assembles SVG from
|
||||
// GitHub-sourced strings (collaborator logins, repo names) and user-typed
|
||||
@@ -214,6 +215,8 @@ type Props = {
|
||||
fetchDone: boolean
|
||||
fetchError: string | null
|
||||
widgetData: WidgetData | null
|
||||
me: Me
|
||||
onAuthChange?: (m: Me) => void
|
||||
}
|
||||
|
||||
export function WorkshopScreen({
|
||||
|
||||
Reference in New Issue
Block a user