Skip to content

Commit b6e4975

Browse files
committed
fix: typos in syntax
1 parent a7c5abb commit b6e4975

File tree

5 files changed

+5
-6
lines changed

5 files changed

+5
-6
lines changed

apps/cli/templates/api/orpc/web/astro/src/components/orpc-status.tsx.hbs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { orpc, queryClient } from '../lib/orpc';
2-
import { useQuery } from '@tanstack/react-query';
3-
import { QueryClientProvider } from '@tanstack/react-query';
2+
import { useQuery, QueryClientProvider } from '@tanstack/react-query';
43

54
function ApiStatus() {
65
const healthCheck = useQuery(orpc.healthCheck.queryOptions());

apps/cli/templates/api/orpc/web/astro/src/lib/orpc.ts.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const link = new RPCLink({
2525
],
2626
interceptors: [
2727
onError((error) => {
28-
console.error(error)
28+
console.error(`RPC Error: ${error.message}`, error)
2929
})
3030
],
3131
});

apps/cli/templates/frontend/astro/public/robots.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
# Full syntax: https://developers.google.com/search/docs/advanced/robots/create-robots-txt
33

44
User-agent: *
5-
Allow: /
5+
Allow: /

apps/cli/templates/frontend/astro/src/layouts/Layout.astro.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const { title, description = "Built with Better-T-Stack"} = Astro.props;
1515
<html lang="en">
1616
<head>
1717
<meta charset="UTF-8" />
18-
<meta name="description" content="{{projectName}} - {{description}}" />
18+
<meta name="description" content=`{{projectName}} - ${description}` />
1919
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
2020
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
2121
<title>{title}</title>

apps/cli/templates/frontend/astro/tsconfig.json.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"references": [
77
{ "path": "../server" }
88
],{{/if}}
9-
"comilerOptions":{
9+
"compilerOptions":{
1010
{{#if (eq api "orpc")}}
1111
"jsx": "react-jsx",
1212
"jsxImportSource": "react",

0 commit comments

Comments
 (0)