Remove console logs

This commit is contained in:
Bill 2022-03-01 04:13:54 -05:00
parent f67943f364
commit 22fc19da2b
5 changed files with 1 additions and 16 deletions

View File

@ -78,8 +78,6 @@ export const CatalogLayoutPetView: FC<CatalogLayoutProps> = props =>
{
let key: string = '';
console.log(approvalResult);
switch(approvalResult)
{
case 1:

View File

@ -227,8 +227,6 @@ export const InventoryMessageHandler: FC<{}> = props =>
{
const parser = event.getParser();
console.log(parser);
dispatchFurnitureState({
type: InventoryFurnitureActions.UPDATE_TRADE,
payload: {
@ -292,8 +290,6 @@ export const InventoryMessageHandler: FC<{}> = props =>
{
const parser = event.getParser();
console.log(parser);
NotificationUtilities.simpleAlert(LocalizeText(`inventory.trading.openfail.${ parser.reason }`, [ 'otherusername' ], [ parser.otherUserName ]), null, null, null, LocalizeText('inventory.trading.openfail.title'));
}, []);

View File

@ -73,8 +73,6 @@ export class NotificationUtilities
if(configuration) for(const key in configuration) options.set(key, configuration[key]);
console.log(options);
const title = this.getNotificationPart(options, type, 'title', true);
const message = this.getNotificationPart(options, type, 'message', true).replace(/\\r/g, '\r');
const linkTitle = this.getNotificationPart(options, type, 'linkTitle', false);

View File

@ -118,7 +118,6 @@ export const ChatInputView: FC<{}> = props =>
{
if(needsChatStyleUpdate)
{
console.log('send')
GetSessionDataManager().sendChatStyleUpdate(chatStyleId);
setNeedsChatStyleUpdate(false);

View File

@ -1,5 +1,5 @@
import { RoomObjectCategory, RoomObjectOperationType } from '@nitrots/nitro-renderer';
import { FC, useCallback, useEffect, useMemo, useState } from 'react';
import { FC, useCallback, useMemo, useState } from 'react';
import { CreateLinkEvent, GetRoomEngine, GetSessionDataManager, LocalizeText, RoomWidgetPresentOpenMessage, RoomWidgetUpdatePresentDataEvent, RoomWidgetUpdateRoomObjectEvent } from '../../../../../api';
import { Button, Column, Flex, Text } from '../../../../../common';
import { ProductTypeEnum } from '../../../../../components/catalog/common/ProductTypeEnum';
@ -33,11 +33,6 @@ export const FurnitureGiftOpeningView: FC<{}> = props =>
const [ openRequested, setOpenRequested ] = useState(false);
const { roomSession = null, eventDispatcher = null, widgetHandler = null } = useRoomContext();
useEffect(() =>
{
console.log(imageUrl);
}, [ imageUrl ]);
const clearGift = useCallback(() =>
{
if(!openRequested) setObjectId(-1);
@ -53,7 +48,6 @@ export const FurnitureGiftOpeningView: FC<{}> = props =>
const onRoomWidgetUpdatePresentDataEvent = useCallback((event: RoomWidgetUpdatePresentDataEvent) =>
{
console.log(event.imageUrl, event.type);
switch(event.type)
{
case RoomWidgetUpdatePresentDataEvent.PACKAGEINFO: {