(feat): methanium ui stuff
This commit is contained in:
parent
6d865a93e8
commit
5602b0a916
4 changed files with 44 additions and 38 deletions
|
|
@ -164,7 +164,13 @@ function AddConversationButton() {
|
|||
{error && (
|
||||
<p className="text-sm text-destructive w-full">{error}</p>
|
||||
)}
|
||||
<DialogClose render={<Button variant="outline">Cancel</Button>} />
|
||||
<DialogClose
|
||||
render={({ onClick }) => (
|
||||
<Button onClick={onClick} variant="outline">
|
||||
Cancel
|
||||
</Button>
|
||||
)}
|
||||
/>
|
||||
<Button disabled={loading} type="submit">
|
||||
{loading && <Loader2 className="animate-spin" />} Continue
|
||||
</Button>
|
||||
|
|
|
|||
Loading…
Reference in a new issue