@yimingliao/cms 0.0.109 → 0.0.110

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -373,10 +373,10 @@ declare function createI18nSelector({ enabled, locales, localeDisplay, }: {
373
373
  localeDisplay: Record<string, string>;
374
374
  }): () => react_jsx_runtime.JSX.Element | null;
375
375
 
376
- declare function createSignOutButton(): ({ useCommand, signOutAction, }: {
376
+ declare function createSignOutButton({ useCommand, signOutAction, }: {
377
377
  useCommand: ReturnType<typeof createUseCommand>;
378
378
  signOutAction: ReturnType<typeof createSignOutAction>;
379
- }) => react_jsx_runtime.JSX.Element;
379
+ }): () => react_jsx_runtime.JSX.Element;
380
380
 
381
381
  interface PageHeaderTitleProps {
382
382
  icon?: LucideIcon;
@@ -694,11 +694,11 @@ function createI18nSelector({
694
694
  ] });
695
695
  };
696
696
  }
697
- function createSignOutButton() {
698
- return function SignOutButton({
699
- useCommand,
700
- signOutAction
701
- }) {
697
+ function createSignOutButton({
698
+ useCommand,
699
+ signOutAction
700
+ }) {
701
+ return function SignOutButton() {
702
702
  const { t } = useTranslator();
703
703
  const router = useRouter();
704
704
  const { setAdmin } = useAdmin();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yimingliao/cms",
3
- "version": "0.0.109",
3
+ "version": "0.0.110",
4
4
  "author": "Yiming Liao",
5
5
  "license": "MIT",
6
6
  "type": "module",