kopia lustrzana https://github.com/bugout-dev/moonstream
Add fixes.
rodzic
51801bd91a
commit
47bc31d9be
|
@ -1,9 +1,9 @@
|
|||
export REACT_APP_SIMIOTICS_SEARCH_URL=http://localhost:5000
|
||||
export REACT_APP_MIXPANEL_TOKEN="<YOUR MIXPANEL TOKEN HERE>"
|
||||
export REACT_APP_SIMIOTICS_AUTH_URL=http://localhost:7474
|
||||
export REACT_APP_SIMIOTICS_JOURNALS_URL=http://localhost:7475
|
||||
export REACT_APP_BUGOUT_CONTACTUS_TOKEN="<Brood token for contact user>"
|
||||
export REACT_APP_BUGOUT_CONTACTUS_JOURNAL_ID="<journal ID for contact journal>"
|
||||
export REACT_APP_STRIPE_PUBLISHABLE_KEY="<stripe publishable key>"
|
||||
export NEXT_PUBLIC_SIMIOTICS_SEARCH_URL=http://localhost:5000
|
||||
export NEXT_PUBLIC_MIXPANEL_TOKEN="<YOUR MIXPANEL TOKEN HERE>"
|
||||
export NEXT_PUBLIC_SIMIOTICS_AUTH_URL=http://localhost:7474
|
||||
export NEXT_PUBLIC_SIMIOTICS_JOURNALS_URL=http://localhost:7475
|
||||
export NEXT_PUBLIC_BUGOUT_CONTACTUS_TOKEN="<Brood token for contact user>"
|
||||
export NEXT_PUBLIC_BUGOUT_CONTACTUS_JOURNAL_ID="<journal ID for contact journal>"
|
||||
export NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY="<stripe publishable key>"
|
||||
export NEXT_PUBLIC_MOONSTREAM_API_URL=http://localhost:7481
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ const NewSubscription = ({ isFreeOption, onClose }) => {
|
|||
type: isFreeOption ? "free" : radioState,
|
||||
});
|
||||
};
|
||||
console.log(typesCache.data);
|
||||
|
||||
return (
|
||||
<form onSubmit={handleSubmit(createSubscriptionWrap)}>
|
||||
<ModalHeader>Subscribe to a new address</ModalHeader>
|
||||
|
|
|
@ -23,10 +23,8 @@ const List = (data) => {
|
|||
useSubscriptions();
|
||||
|
||||
const updateCallback = ({ id, note }) => {
|
||||
console.log("updateCallback", id);
|
||||
changeNote.mutate({ id, note });
|
||||
};
|
||||
console.log(data);
|
||||
|
||||
if (subscriptionsCache.data) {
|
||||
return (
|
||||
|
|
|
@ -27,8 +27,6 @@ const useSubscriptions = () => {
|
|||
|
||||
const getSubscriptions = async () => {
|
||||
const response = await SubscriptionsService.getSubscriptions();
|
||||
console.log("getSubscriptions");
|
||||
console.log(response.data);
|
||||
return response.data;
|
||||
};
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@ import { http } from "../utils";
|
|||
// import axios from "axios";
|
||||
|
||||
const API = process.env.NEXT_PUBLIC_MOONSTREAM_API_URL;
|
||||
console.log(API);
|
||||
|
||||
export const getStream = ({ searchTerm, limit, offset, isContent }) =>
|
||||
http({
|
||||
|
@ -49,7 +48,6 @@ export const deleteJournal = (id) => () =>
|
|||
export const createSubscription =
|
||||
() =>
|
||||
({ address, type, label, color }) => {
|
||||
console.log("createSubscription: ", address, type, label);
|
||||
const data = new FormData();
|
||||
data.append("address", address);
|
||||
data.append("subscription_type_id", type);
|
||||
|
|
Ładowanie…
Reference in New Issue