fix: add asChild prop for DialogTrigger with Button

This commit is contained in:
2024-12-02 11:52:02 +00:00
parent 3acb85abaf
commit 8a8582e06e
3 changed files with 3 additions and 2 deletions

View File

@@ -167,6 +167,7 @@ function useBaseTemplates() {
"/base-templates",
(): Promise<BaseTemplate[]> =>
fetchApi("/base-templates").then((res) => res.json()),
{ refreshInterval: Number.POSITIVE_INFINITY },
);
}