Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
ademilter committed Nov 5, 2024
1 parent 0640885 commit f9ec462
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,10 @@ export function AddKeyModal() {
<div className="mt-6 flex justify-end gap-2">
<Button
type="button"
variant="outline"
onClick={() => {
setOpen(false)
}}
variant={"outline"}
className="font-normal"
>
Cancel
</Button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ const EditorDisplayForm = ({
<div className="flex gap-2">
{form.formState.isDirty && <Button onClick={handleCancel}>Cancel</Button>}
<Button
variant="primary"
onClick={form.handleSubmit(async ({ value }) => {
await setKey(value)
})}
variant="primary"
disabled={!form.formState.isValid || !form.formState.isDirty}
>
<Spinner isLoading={isSettingKey} isLoadingText={"Saving"}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,10 @@ export function TTLPopover({

<div className="flex justify-between">
<Button
type="button"
variant="outline"
disabled={ttl === PERSISTED_KEY}
size={"sm"}
variant={"outline"}
onClick={handlePersist}
type="button"
>
Persist
</Button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ export const ReloadButton = ({
<div>
<Button
variant="outline"
size="icon"
className="h-8 w-8 rounded-md border border-[#D9D9D9]"
size="icon-sm"
onClick={handleClick}
disabled={isLoading || isLoadingProp}
>
Expand Down

0 comments on commit f9ec462

Please sign in to comment.