mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-09 15:35:22 +02:00
fix: AxiosProvider typing
This commit is contained in:
parent
845418e5aa
commit
9226f05f2c
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ function createInstance(options?: CreateInstanceOptions) {
|
||||||
return instance
|
return instance
|
||||||
}
|
}
|
||||||
|
|
||||||
export function AxiosProvider({ children, baseUrl }: PropsWithChildren<{baseUrl: string?}>) {
|
export function AxiosProvider({ children, baseUrl }: PropsWithChildren<{ baseUrl?: string }>) {
|
||||||
const API_URL = baseUrl || 'http://localhost:3333'
|
const API_URL = baseUrl || 'http://localhost:3333'
|
||||||
|
|
||||||
// Expose a default instance with auth, superjson, headers
|
// Expose a default instance with auth, superjson, headers
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue