Removes some extra logging
This commit is contained in:
@@ -21,11 +21,8 @@ export const NewSessionForm = ({ campaignId, onCreate }: Props) => {
|
|||||||
const [name, setName] = useState<string>("");
|
const [name, setName] = useState<string>("");
|
||||||
const { dispatch } = useDocumentCache();
|
const { dispatch } = useDocumentCache();
|
||||||
|
|
||||||
console.log("Rendering with name: ", name);
|
|
||||||
|
|
||||||
const createNewSession = useCallback(async () => {
|
const createNewSession = useCallback(async () => {
|
||||||
setIsLoading(true);
|
setIsLoading(true);
|
||||||
console.log("Creating session: ", name);
|
|
||||||
try {
|
try {
|
||||||
// Check for a previous session
|
// Check for a previous session
|
||||||
const prevSession = await pb
|
const prevSession = await pb
|
||||||
|
|||||||
Reference in New Issue
Block a user