mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-23 14:40:50 +01:00
Remove console logs
This commit is contained in:
parent
f67943f364
commit
22fc19da2b
@ -78,8 +78,6 @@ export const CatalogLayoutPetView: FC<CatalogLayoutProps> = props =>
|
|||||||
{
|
{
|
||||||
let key: string = '';
|
let key: string = '';
|
||||||
|
|
||||||
console.log(approvalResult);
|
|
||||||
|
|
||||||
switch(approvalResult)
|
switch(approvalResult)
|
||||||
{
|
{
|
||||||
case 1:
|
case 1:
|
||||||
|
@ -227,8 +227,6 @@ export const InventoryMessageHandler: FC<{}> = props =>
|
|||||||
{
|
{
|
||||||
const parser = event.getParser();
|
const parser = event.getParser();
|
||||||
|
|
||||||
console.log(parser);
|
|
||||||
|
|
||||||
dispatchFurnitureState({
|
dispatchFurnitureState({
|
||||||
type: InventoryFurnitureActions.UPDATE_TRADE,
|
type: InventoryFurnitureActions.UPDATE_TRADE,
|
||||||
payload: {
|
payload: {
|
||||||
@ -292,8 +290,6 @@ export const InventoryMessageHandler: FC<{}> = props =>
|
|||||||
{
|
{
|
||||||
const parser = event.getParser();
|
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'));
|
NotificationUtilities.simpleAlert(LocalizeText(`inventory.trading.openfail.${ parser.reason }`, [ 'otherusername' ], [ parser.otherUserName ]), null, null, null, LocalizeText('inventory.trading.openfail.title'));
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
|
@ -73,8 +73,6 @@ export class NotificationUtilities
|
|||||||
|
|
||||||
if(configuration) for(const key in configuration) options.set(key, configuration[key]);
|
if(configuration) for(const key in configuration) options.set(key, configuration[key]);
|
||||||
|
|
||||||
console.log(options);
|
|
||||||
|
|
||||||
const title = this.getNotificationPart(options, type, 'title', true);
|
const title = this.getNotificationPart(options, type, 'title', true);
|
||||||
const message = this.getNotificationPart(options, type, 'message', true).replace(/\\r/g, '\r');
|
const message = this.getNotificationPart(options, type, 'message', true).replace(/\\r/g, '\r');
|
||||||
const linkTitle = this.getNotificationPart(options, type, 'linkTitle', false);
|
const linkTitle = this.getNotificationPart(options, type, 'linkTitle', false);
|
||||||
|
@ -118,7 +118,6 @@ export const ChatInputView: FC<{}> = props =>
|
|||||||
{
|
{
|
||||||
if(needsChatStyleUpdate)
|
if(needsChatStyleUpdate)
|
||||||
{
|
{
|
||||||
console.log('send')
|
|
||||||
GetSessionDataManager().sendChatStyleUpdate(chatStyleId);
|
GetSessionDataManager().sendChatStyleUpdate(chatStyleId);
|
||||||
|
|
||||||
setNeedsChatStyleUpdate(false);
|
setNeedsChatStyleUpdate(false);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { RoomObjectCategory, RoomObjectOperationType } from '@nitrots/nitro-renderer';
|
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 { CreateLinkEvent, GetRoomEngine, GetSessionDataManager, LocalizeText, RoomWidgetPresentOpenMessage, RoomWidgetUpdatePresentDataEvent, RoomWidgetUpdateRoomObjectEvent } from '../../../../../api';
|
||||||
import { Button, Column, Flex, Text } from '../../../../../common';
|
import { Button, Column, Flex, Text } from '../../../../../common';
|
||||||
import { ProductTypeEnum } from '../../../../../components/catalog/common/ProductTypeEnum';
|
import { ProductTypeEnum } from '../../../../../components/catalog/common/ProductTypeEnum';
|
||||||
@ -33,11 +33,6 @@ export const FurnitureGiftOpeningView: FC<{}> = props =>
|
|||||||
const [ openRequested, setOpenRequested ] = useState(false);
|
const [ openRequested, setOpenRequested ] = useState(false);
|
||||||
const { roomSession = null, eventDispatcher = null, widgetHandler = null } = useRoomContext();
|
const { roomSession = null, eventDispatcher = null, widgetHandler = null } = useRoomContext();
|
||||||
|
|
||||||
useEffect(() =>
|
|
||||||
{
|
|
||||||
console.log(imageUrl);
|
|
||||||
}, [ imageUrl ]);
|
|
||||||
|
|
||||||
const clearGift = useCallback(() =>
|
const clearGift = useCallback(() =>
|
||||||
{
|
{
|
||||||
if(!openRequested) setObjectId(-1);
|
if(!openRequested) setObjectId(-1);
|
||||||
@ -53,7 +48,6 @@ export const FurnitureGiftOpeningView: FC<{}> = props =>
|
|||||||
|
|
||||||
const onRoomWidgetUpdatePresentDataEvent = useCallback((event: RoomWidgetUpdatePresentDataEvent) =>
|
const onRoomWidgetUpdatePresentDataEvent = useCallback((event: RoomWidgetUpdatePresentDataEvent) =>
|
||||||
{
|
{
|
||||||
console.log(event.imageUrl, event.type);
|
|
||||||
switch(event.type)
|
switch(event.type)
|
||||||
{
|
{
|
||||||
case RoomWidgetUpdatePresentDataEvent.PACKAGEINFO: {
|
case RoomWidgetUpdatePresentDataEvent.PACKAGEINFO: {
|
||||||
|
Loading…
Reference in New Issue
Block a user