@hed-hog/core 0.0.191 → 0.0.194

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.
@@ -283,7 +283,7 @@ export default function ConfigurationsLayout({ children }: IProps) {
283
283
  <div className="border-b border-border mb-6">
284
284
  <nav className="flex gap-6" aria-label="Configuration tabs">
285
285
  {(settingGroups?.data || []).map((item: SettingGroup) => {
286
- const isActive = pathname === `/configurations/${item.slug}`;
286
+ const isActive = pathname === `/core/configurations/${item.slug}`;
287
287
  return (
288
288
  <Link
289
289
  key={item.slug}
@@ -23,7 +23,7 @@ export default function Page() {
23
23
 
24
24
  useEffect(() => {
25
25
  if ((settingGroups?.data || []).length > 0) {
26
- router.push(`/configurations/${settingGroups.data[0].slug}`);
26
+ router.push(`/core/configurations/${settingGroups.data[0].slug}`);
27
27
  }
28
28
  }, [settingGroups]);
29
29
 
@@ -2,6 +2,7 @@
2
2
 
3
3
  import type React from 'react';
4
4
 
5
+ import { PageHeader } from '@/components/entity-list';
5
6
  import { RichTextEditor } from '@/components/rich-text-editor';
6
7
  import {
7
8
  AlertDialog,
@@ -55,7 +56,6 @@ import {
55
56
  import { useTranslations } from 'next-intl';
56
57
  import { useEffect, useState } from 'react';
57
58
  import { toast } from 'sonner';
58
- import { PageHeader } from '../../../../components/entity-list/page-header';
59
59
 
60
60
  interface Mail {
61
61
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hed-hog/core",
3
- "version": "0.0.191",
3
+ "version": "0.0.194",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "dependencies": {
@@ -30,11 +30,11 @@
30
30
  "speakeasy": "^2.0.0",
31
31
  "uuid": "^11.1.0",
32
32
  "@hed-hog/api-mail": "0.0.7",
33
+ "@hed-hog/api-pagination": "0.0.5",
33
34
  "@hed-hog/api-locale": "0.0.11",
34
- "@hed-hog/api-types": "0.0.1",
35
35
  "@hed-hog/api": "0.0.3",
36
36
  "@hed-hog/api-prisma": "0.0.4",
37
- "@hed-hog/api-pagination": "0.0.5"
37
+ "@hed-hog/api-types": "0.0.1"
38
38
  },
39
39
  "exports": {
40
40
  ".": {