CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
sagemathinc

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: sagemathinc/cocalc
Path: blob/master/src/packages/next/components/store/store-inplace-signup.tsx
Views: 687
1
/*
2
* This file is part of CoCalc: Copyright © 2022 Sagemath, Inc.
3
* License: MS-RSL – see LICENSE.md for details
4
*/
5
6
import InPlaceSignInOrUp from "components/auth/in-place-sign-in-or-up";
7
import { useRouter } from "next/router";
8
9
export const StoreInplaceSignInOrUp = () => {
10
const router = useRouter();
11
12
return (
13
<InPlaceSignInOrUp
14
title="Store"
15
why="to make store purchases"
16
onSuccess={() => {
17
router.reload();
18
}}
19
/>
20
);
21
};
22
23