mirror of
https://github.com/MeshEnvy/mesh-forge.git
synced 2026-08-10 02:43:02 +02:00
feat: integrate R2 for secure build artifact downloads and update flashing flow with authentication
This commit is contained in:
@@ -31,7 +31,9 @@ export default function Navbar() {
|
||||
<div className="flex items-center gap-4">
|
||||
<Unauthenticated>
|
||||
<Button
|
||||
onClick={() => signIn('google', { redirectTo: '/dashboard' })}
|
||||
onClick={() =>
|
||||
signIn('google', { redirectTo: window.location.href })
|
||||
}
|
||||
className="bg-white text-slate-900 hover:bg-slate-200"
|
||||
>
|
||||
Sign in
|
||||
|
||||
@@ -30,7 +30,7 @@ export function ProfileStatisticPills({
|
||||
}
|
||||
|
||||
interface ProfileCardContentProps {
|
||||
profile: Doc
|
||||
profile: Doc<'profiles'>
|
||||
}
|
||||
|
||||
export function ProfileCardContent({ profile }: ProfileCardContentProps) {
|
||||
|
||||
@@ -18,7 +18,7 @@ interface ProfileFormValues {
|
||||
}
|
||||
|
||||
interface ProfileEditorProps {
|
||||
initialData?: Doc
|
||||
initialData?: Doc<'profiles'>
|
||||
onSave: () => void
|
||||
onCancel: () => void
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user