- complete onyx design template

- implement public sharable urls
- implement more actions
This commit is contained in:
Amruth Pillai
2020-07-11 20:42:16 +05:30
parent 0b5653fab5
commit 5ec1f21bd3
55 changed files with 1025 additions and 412 deletions

View File

@ -3,7 +3,7 @@ import React, { memo, useContext } from 'react';
import UserContext from '../../contexts/UserContext';
import LoadingScreen from './LoadingScreen';
const PrivateRoute = ({ component: Component, location, ...props }) => {
const PrivateRoute = ({ component: Component, ...props }) => {
const { user, loading } = useContext(UserContext);
if (loading) {