Commit 020c7c64 authored by Matija Obreza's avatar Matija Obreza
Browse files

SSR load last news on welcome page

parent 212bcc4c
......@@ -246,6 +246,10 @@ interface IWelcomeProps {
class WelcomePage extends React.Component<IWelcomeProps, any> {
protected static needs = [
() => loadLastNews(),
];
constructor(props: any, context: any) {
super(props, context);
const { t } = props;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment