"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.getServerSideProps = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
/*
 *  This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
 *  License: AGPLv3 s.t. "Commons Clause" – see LICENSE.md for details
 */
// Show all the public paths that you have starred.
const get_stars_1 = __importDefault(require("lib/share/get-stars"));
const with_customize_1 = __importDefault(require("lib/with-customize"));
const stars_1 = __importDefault(require("components/account/stars"));
function Stars(props) {
    return (0, jsx_runtime_1.jsx)(stars_1.default, { ...props });
}
exports.default = Stars;
async function getServerSideProps(context) {
    return await (0, with_customize_1.default)({
        context,
        props: { stars: await (0, get_stars_1.default)(context.req) },
    });
}
exports.getServerSideProps = getServerSideProps;
//# sourceMappingURL=stars.js.map