# Function: useObjectUrl()

```ts
function useObjectUrl(file): string | null;
```

Defined in: [packages/react/src/use-account-picture.ts:19](https://github.com/leifriksheim/minca/blob/main/react/src/use-account-picture.ts#L19)

A URL for these bytes while they are shown, let go of after

## Parameters

| Parameter | Type |
| ------ | ------ |
| `file` | \| \{ `bytes`: `Uint8Array`; `mime`: `string`; \} \| `null` |

## Returns

`string` \| `null`
