mirror of
https://github.com/enricoros/big-AGI.git
synced 2026-05-10 21:50:14 -07:00
15 lines
437 B
TypeScript
15 lines
437 B
TypeScript
import * as React from 'react';
|
|
|
|
import { AppNews } from '../src/apps/news/AppNews';
|
|
|
|
import { markNewsAsSeen } from '~/common/logic/store-logic-sherpa';
|
|
import { withNextJSPerPageLayout } from '~/common/layout/withLayout';
|
|
|
|
|
|
export default withNextJSPerPageLayout({ type: 'optima', suspendAutoModelsSetup: true }, () => {
|
|
|
|
// 'touch' the last seen news version
|
|
React.useEffect(() => markNewsAsSeen(), []);
|
|
|
|
return <AppNews />;
|
|
}); |