Skip to content

Commit

Permalink
� This is a combination of 2 commits.
Browse files Browse the repository at this point in the history
� This is the 1st commit message:

:recycle: refactor: refactor async api request

� The commit message #2 will be skipped:

� ♻️ refactor: refactor async api request
  • Loading branch information
arvinxx committed Oct 23, 2024
1 parent b544e52 commit bb36020
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"db:push-test": "NODE_ENV=test drizzle-kit push",
"db:studio": "drizzle-kit studio",
"db:z-pull": "drizzle-kit introspect",
"dev": "next dev -p 3010",
"dev": "next dev --turbo -p 3010",
"docs:i18n": "lobe-i18n md && npm run lint:mdx",
"docs:seo": "lobe-seo && npm run lint:mdx",
"i18n": "npm run workflow:i18n && lobe-i18n",
Expand Down Expand Up @@ -126,7 +126,7 @@
"@lobehub/tts": "^1.25.1",
"@lobehub/ui": "^1.151.5",
"@neondatabase/serverless": "^0.10.1",
"@next/third-parties": "^14.2.15",
"@next/third-parties": "^15.0.0",
"@react-spring/web": "^9.7.5",
"@sentry/nextjs": "^7.119.2",
"@serwist/next": "^9.0.9",
Expand Down Expand Up @@ -172,7 +172,7 @@
"mammoth": "^1.8.0",
"modern-screenshot": "^4.4.39",
"nanoid": "^5.0.7",
"next": "14.2.8",
"next": "^15.0.0",
"next-auth": "beta",
"next-mdx-remote": "^4.4.1",
"nextjs-toploader": "^3.7.15",
Expand Down Expand Up @@ -240,8 +240,8 @@
"@lobehub/i18n-cli": "^1.20.0",
"@lobehub/lint": "^1.24.4",
"@lobehub/seo-cli": "^1.4.2",
"@next/bundle-analyzer": "^14.2.15",
"@next/eslint-plugin-next": "^14.2.15",
"@next/bundle-analyzer": "^15.0.0",
"@next/eslint-plugin-next": "^15.0.0",
"@peculiar/webcrypto": "^1.5.0",
"@testing-library/jest-dom": "^6.6.2",
"@testing-library/react": "^16.0.1",
Expand Down
2 changes: 1 addition & 1 deletion src/utils/server/responsive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const gerServerDeviceInfo = () => {
throw new Error('[Server method] you are importing a server-only module outside of server');
}

const { get } = headers();
const { get } = headers() as unknown as UnsafeUnwrappedHeaders;
const ua = get('user-agent');

// console.debug(ua);
Expand Down

0 comments on commit bb36020

Please sign in to comment.