Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/react/start-supabase-basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
"devDependencies": {
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"postcss": "^8.5.1",
"autoprefixer": "^10.4.20",
"postcss": "^8.5.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.7.2",
"vite": "^6.3.5",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Link } from '@tanstack/react-router'

export function NotFound({ children }: { children?: any }) {
export function NotFound({ children }: { children?: React.ReactNode }) {
return (
<div className="space-y-2 p-2">
<div className="text-gray-600 dark:text-gray-400">
Expand Down
4 changes: 2 additions & 2 deletions examples/react/start-supabase-basic/src/hooks/useMutation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ export function useMutation<TVariables, TData, TError = Error>(opts: {
setError(undefined)
setData(data)
return data
} catch (err: any) {
} catch (err) {
setStatus('error')
setError(err)
setError(err as TError)
}
},
[opts.fn],
Expand Down
1 change: 0 additions & 1 deletion examples/react/start-supabase-basic/src/utils/supabase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export function getSupabaseServerClient() {
process.env.SUPABASE_ANON_KEY!,
{
cookies: {
// @ts-ignore Wait till Supabase overload works
getAll() {
return Object.entries(parseCookies()).map(([name, value]) => ({
name,
Expand Down