Skip to content

Commit 6fc77ed

Browse files
committed
Update version to 0.2.0-alpha.71 and add PWA support to AppClientLayout
- Bumped the version in package.json to 0.2.0-alpha.71. - Enhanced AppClientLayout to include an optional PWA prop, allowing for better configuration of progressive web app features. Files modified: - package.json: Version update. - lib/app-client-layout.tsx: Added optional PWA support to the layout component.
1 parent 72cdfb7 commit 6fc77ed

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

lib/app-client-layout.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@ export function AppClientLayout(props: {
99
schema: any;
1010
children: React.ReactNode;
1111
defaultTheme?: string;
12+
pwa?: boolean;
1213
}) {
13-
const { defaultLocale, schema, children, defaultTheme } = props;
14+
const { defaultLocale, schema, children, defaultTheme, pwa = false } = props;
1415
const { locale } = useLocaleClient(defaultLocale);
1516
const messages = i18nMessages(locale);
1617
return (
17-
<HasyxClientLayout defaultLocale={defaultLocale} defaultTheme={defaultTheme} schema={schema} messages={messages}>
18+
<HasyxClientLayout defaultLocale={defaultLocale} defaultTheme={defaultTheme} schema={schema} messages={messages} pwa={pwa}>
1819
{children}
1920
</HasyxClientLayout>
2021
);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hasyx",
3-
"version": "0.2.0-alpha.70",
3+
"version": "0.2.0-alpha.71",
44
"description": "Modern full-stack framework with real-time GraphQL, AI integration, and seamless development experience",
55
"homepage": "https://hasyx.vercel.app/",
66
"engines": {

0 commit comments

Comments
 (0)