Removed console logs.

This commit is contained in:
Mike Cao 2020-09-17 00:25:13 -07:00
parent 7f598fa84d
commit ecd2593063
3 changed files with 0 additions and 5 deletions

View File

@ -41,8 +41,6 @@ export default function WebsiteDetails({ websiteId }) {
} = router; } = router;
const path = `/website/${id.join('/')}`; const path = `/website/${id.join('/')}`;
console.log({ router });
const BackButton = () => ( const BackButton = () => (
<Button <Button
key="back-button" key="back-button"

View File

@ -23,8 +23,6 @@ export default function WebsiteChart({
const dateRange = useDateRange(websiteId); const dateRange = useDateRange(websiteId);
const { startDate, endDate, unit, value, modified } = dateRange; const { startDate, endDate, unit, value, modified } = dateRange;
console.log({ websiteId, dateRange });
const { data } = useFetch( const { data } = useFetch(
`/api/website/${websiteId}/pageviews`, `/api/website/${websiteId}/pageviews`,
{ {

View File

@ -17,7 +17,6 @@ export default async (req, res) => {
if (website.user_id === user_id || is_admin) { if (website.user_id === user_id || is_admin) {
let { share_id } = website; let { share_id } = website;
console.log('exising id', share_id, website);
if (enable_share_url) { if (enable_share_url) {
share_id = share_id ? share_id : getRandomChars(8); share_id = share_id ? share_id : getRandomChars(8);