{ LocalizeText('tutorial.name_change.info.select') }
- handleUsernameChange(e.target.value) } />
+ handleUsernameChange(e.target.value) } />
{ !errorCode && !canProceed &&
{ LocalizeText('help.tutorial.name.info') }
}
- { errorCode &&
{ LocalizeText(`help.tutorial.name.${errorCode}`, [ 'name' ], [ newUsername ]) }
}
+ { errorCode &&
{ LocalizeText(`help.tutorial.name.${ errorCode }`, [ 'name' ], [ newUsername ]) }
}
{ canProceed &&
{ LocalizeText('help.tutorial.name.available', [ 'name' ], [ newUsername ]) }
}
{ suggestions &&
{
diff --git a/src/components/help/views/name-change/NameChangeView.tsx b/src/components/help/views/name-change/NameChangeView.tsx
index ecca6965..b5f12190 100644
--- a/src/components/help/views/name-change/NameChangeView.tsx
+++ b/src/components/help/views/name-change/NameChangeView.tsx
@@ -57,7 +57,7 @@ export const NameChangeView:FC<{}> = props =>
return (
- onAction('close') } />
+ onAction('close') } />
{ layout === INIT && }
{ layout === INPUT && }
diff --git a/src/components/hotel-view/HotelView.tsx b/src/components/hotel-view/HotelView.tsx
index 51d3eeab..c821eaa1 100644
--- a/src/components/hotel-view/HotelView.tsx
+++ b/src/components/hotel-view/HotelView.tsx
@@ -39,67 +39,67 @@ export const HotelView: FC<{}> = props =>
const right = GetConfigurationManager().interpolate(GetConfiguration('hotelview')['images']['right']);
return (
-
+
-
-
-
-
-
-
+
+
+
+
+
+
{GetConfiguration('hotelview')['show.avatar'] && (
-
+
)}
diff --git a/src/components/hotel-view/views/widgets/GetWidgetLayout.tsx b/src/components/hotel-view/views/widgets/GetWidgetLayout.tsx
index f5fafe61..16481768 100644
--- a/src/components/hotel-view/views/widgets/GetWidgetLayout.tsx
+++ b/src/components/hotel-view/views/widgets/GetWidgetLayout.tsx
@@ -18,11 +18,11 @@ export const GetWidgetLayout: FC
= props =>
case 'promoarticle':
return ;
case 'achievementcompetition_hall_of_fame':
- return ;
+ return ;
case 'bonusrare':
return ;
case 'widgetcontainer':
- return
+ return
default:
return null;
}
diff --git a/src/components/hotel-view/views/widgets/WidgetSlotView.tsx b/src/components/hotel-view/views/widgets/WidgetSlotView.tsx
index 380a61c5..564184f8 100644
--- a/src/components/hotel-view/views/widgets/WidgetSlotView.tsx
+++ b/src/components/hotel-view/views/widgets/WidgetSlotView.tsx
@@ -13,8 +13,8 @@ export const WidgetSlotView: FC = props =>
const { widgetType = null, widgetSlot = 0, widgetConf = null, className= '', ...rest } = props;
return (
-
-
+
+
);
}
diff --git a/src/components/hotel-view/views/widgets/bonus-rare/BonusRareWidgetView.tsx b/src/components/hotel-view/views/widgets/bonus-rare/BonusRareWidgetView.tsx
index 5cc195bf..cf11987f 100644
--- a/src/components/hotel-view/views/widgets/bonus-rare/BonusRareWidgetView.tsx
+++ b/src/components/hotel-view/views/widgets/bonus-rare/BonusRareWidgetView.tsx
@@ -37,7 +37,7 @@ export const BonusRareWidgetView: FC
= props =>
{ productType }
{(totalCoinsForBonus - coinsStillRequiredToBuy) + '/' + totalCoinsForBonus}
-
+
);
diff --git a/src/components/hotel-view/views/widgets/promo-article/PromoArticleWidgetView.tsx b/src/components/hotel-view/views/widgets/promo-article/PromoArticleWidgetView.tsx
index 6153cb15..522e5eb5 100644
--- a/src/components/hotel-view/views/widgets/promo-article/PromoArticleWidgetView.tsx
+++ b/src/components/hotel-view/views/widgets/promo-article/PromoArticleWidgetView.tsx
@@ -3,55 +3,46 @@ import { FC, useCallback, useEffect, useState } from 'react';
import { LocalizeText, NotificationUtilities, SendMessageComposer } from '../../../../../api';
import { UseMessageEventHook } from '../../../../../hooks';
-export interface PromoArticleWidgetViewProps
-{}
-
-export const PromoArticleWidgetView: FC = props =>
+export const PromoArticleWidgetView: FC<{}> = props =>
{
const [ articles, setArticles ] = useState(null);
- const [ index, setIndex ] = useState(0);
+ const [ index, setIndex ] = useState(0);
- const handleSelect = (selectedIndex) =>
- {
- setIndex(selectedIndex);
- };
+ const onPromoArticlesMessageEvent = useCallback((event: PromoArticlesMessageEvent) =>
+ {
+ const parser = event.getParser();
+ setArticles(parser.articles);
+ }, []);
- const onPromoArticlesMessageEvent = useCallback((event: PromoArticlesMessageEvent) =>
- {
- const parser = event.getParser();
- setArticles(parser.articles);
- }, []);
+ UseMessageEventHook(PromoArticlesMessageEvent, onPromoArticlesMessageEvent);
- UseMessageEventHook(PromoArticlesMessageEvent, onPromoArticlesMessageEvent);
+ useEffect(() =>
+ {
+ SendMessageComposer(new GetPromoArticlesComposer());
+ }, []);
- useEffect(() =>
- {
- SendMessageComposer(new GetPromoArticlesComposer());
- }, []);
+ if(!articles) return null;
- if(!articles) return null;
-
- return (
+ return (
{ LocalizeText('landing.view.promo.article.header') }
-
+
-
+
{articles && (articles.length > 0) && articles.map((article, ind) =>
-
handleSelect(ind)} />
+
setIndex(ind) } />
)}
- {articles && articles[index] &&
-
-
-
-
{articles[index].title}
- { articles[index].bodyText }
-
-
-
- }
-
- );
+ {articles && articles[index] &&
+
+
+
+
{articles[index].title}
+ { articles[index].bodyText }
+
+
+
}
+
+ );
}
diff --git a/src/components/hotel-view/views/widgets/widget-container/WidgetContainerView.tsx b/src/components/hotel-view/views/widgets/widget-container/WidgetContainerView.tsx
index 41cd2785..d6a096f7 100644
--- a/src/components/hotel-view/views/widgets/widget-container/WidgetContainerView.tsx
+++ b/src/components/hotel-view/views/widgets/widget-container/WidgetContainerView.tsx
@@ -27,12 +27,12 @@ export const WidgetContainerView: FC
= props =>
return (
-
+
-
{LocalizeText(`landing.view.${getOption('texts')}.header`)}
- { LocalizeText(`landing.view.${getOption('texts')}.body`) }
-
+ {LocalizeText(`landing.view.${ getOption('texts') }.header`)}
+ { LocalizeText(`landing.view.${ getOption('texts') }.body`) }
+
-
+
);
}
diff --git a/src/components/inventory/InventoryView.tsx b/src/components/inventory/InventoryView.tsx
index e23576bc..96077c8a 100644
--- a/src/components/inventory/InventoryView.tsx
+++ b/src/components/inventory/InventoryView.tsx
@@ -123,7 +123,7 @@ export const InventoryView: FC<{}> = props =>
if(!isVisible) return null;
return (
-
+
{ !isTrading &&
<>
diff --git a/src/components/inventory/views/furniture/InventoryTradeView.tsx b/src/components/inventory/views/furniture/InventoryTradeView.tsx
index 264171a9..2f0a7d0e 100644
--- a/src/components/inventory/views/furniture/InventoryTradeView.tsx
+++ b/src/components/inventory/views/furniture/InventoryTradeView.tsx
@@ -160,9 +160,9 @@ export const InventoryTradeView: FC = props =>
return (
(count && setGroupItem(item)) }>
{ ((count > 0) && (groupItem === item)) &&
- }
+ }
);
}) }
@@ -189,9 +189,9 @@ export const InventoryTradeView: FC = props =>
return (
setOwnGroupItem(item) }>
{ (ownGroupItem === item) &&
- }
+ }
);
}) }
diff --git a/src/components/mod-tools/ModToolsView.tsx b/src/components/mod-tools/ModToolsView.tsx
index 0a0e4d7c..3b0c9ae9 100644
--- a/src/components/mod-tools/ModToolsView.tsx
+++ b/src/components/mod-tools/ModToolsView.tsx
@@ -214,12 +214,12 @@ export const ModToolsView: FC<{}> = props =>
}
{ openUserInfo && openUserInfo.map(userId =>
{
- return handleClick('close_user_info', userId.toString())}/>
+ return handleClick('close_user_info', userId.toString()) }/>
})
}
{ openUserChatlogs && openUserChatlogs.map(userId =>
{
- return handleClick('close_user_chatlog', userId.toString())}/>
+ return handleClick('close_user_chatlog', userId.toString()) }/>
})
}
diff --git a/src/components/mod-tools/views/chatlog/ChatlogView.tsx b/src/components/mod-tools/views/chatlog/ChatlogView.tsx
index 0018f187..0b7c1979 100644
--- a/src/components/mod-tools/views/chatlog/ChatlogView.tsx
+++ b/src/components/mod-tools/views/chatlog/ChatlogView.tsx
@@ -124,7 +124,7 @@ export const ChatlogView: FC = props =>
return (
<>
{ (records && (records.length === 1)) &&
- }
+ }
diff --git a/src/components/mod-tools/views/room/ModToolsChatlogView.tsx b/src/components/mod-tools/views/room/ModToolsChatlogView.tsx
index 6392942f..bd595d22 100644
--- a/src/components/mod-tools/views/room/ModToolsChatlogView.tsx
+++ b/src/components/mod-tools/views/room/ModToolsChatlogView.tsx
@@ -35,7 +35,7 @@ export const ModToolsChatlogView: FC = props =>
if(!roomChatlog) return null;
return (
-
+
{ roomChatlog &&
diff --git a/src/components/mod-tools/views/room/ModToolsRoomView.tsx b/src/components/mod-tools/views/room/ModToolsRoomView.tsx
index c16bdc40..e31f840a 100644
--- a/src/components/mod-tools/views/room/ModToolsRoomView.tsx
+++ b/src/components/mod-tools/views/room/ModToolsRoomView.tsx
@@ -76,7 +76,7 @@ export const ModToolsRoomView: FC = props =>
}, [ roomId, infoRequested, setInfoRequested ]);
return (
-
+
onCloseClick() } />
diff --git a/src/components/mod-tools/views/tickets/CfhChatlogView.tsx b/src/components/mod-tools/views/tickets/CfhChatlogView.tsx
index 1163a79d..16ced18c 100644
--- a/src/components/mod-tools/views/tickets/CfhChatlogView.tsx
+++ b/src/components/mod-tools/views/tickets/CfhChatlogView.tsx
@@ -34,9 +34,9 @@ export const CfhChatlogView: FC = props =>
return (
-
+
- { chatlogData && }
+ { chatlogData && }
);
diff --git a/src/components/mod-tools/views/tickets/ModToolsIssueInfoView.tsx b/src/components/mod-tools/views/tickets/ModToolsIssueInfoView.tsx
index b49ccef6..ac34d5b3 100644
--- a/src/components/mod-tools/views/tickets/ModToolsIssueInfoView.tsx
+++ b/src/components/mod-tools/views/tickets/ModToolsIssueInfoView.tsx
@@ -47,7 +47,7 @@ export const ModToolsIssueInfoView: FC = props =>
return (
<>
- onIssueInfoClosed(issueId)} />
+ onIssueInfoClosed(issueId) } />
Issue Information
@@ -86,7 +86,7 @@ export const ModToolsIssueInfoView: FC = props =>
-
+
diff --git a/src/components/mod-tools/views/tickets/ModToolsTicketsView.tsx b/src/components/mod-tools/views/tickets/ModToolsTicketsView.tsx
index 74eb08f4..b7c00967 100644
--- a/src/components/mod-tools/views/tickets/ModToolsTicketsView.tsx
+++ b/src/components/mod-tools/views/tickets/ModToolsTicketsView.tsx
@@ -77,9 +77,9 @@ export const ModToolsTicketsView: FC = props =>
{
switch(currentTab)
{
- case 0: return ;
- case 1: return ;
- case 2: return ;
+ case 0: return ;
+ case 1: return ;
+ case 2: return ;
default: return null;
}
}, [ currentTab, myIssues, onIssueHandleClicked, openIssues, pickedIssues ]);
diff --git a/src/components/mod-tools/views/user/ModToolsUserChatlogView.tsx b/src/components/mod-tools/views/user/ModToolsUserChatlogView.tsx
index e0c961fa..784a68b0 100644
--- a/src/components/mod-tools/views/user/ModToolsUserChatlogView.tsx
+++ b/src/components/mod-tools/views/user/ModToolsUserChatlogView.tsx
@@ -35,11 +35,11 @@ export const ModToolsUserChatlogView: FC = props =
}, [ userId ]);
return (
-
+
{ userChatlog &&
- }
+ }
);
diff --git a/src/components/mod-tools/views/user/ModToolsUserModActionView.tsx b/src/components/mod-tools/views/user/ModToolsUserModActionView.tsx
index e460cceb..5d8f1bf3 100644
--- a/src/components/mod-tools/views/user/ModToolsUserModActionView.tsx
+++ b/src/components/mod-tools/views/user/ModToolsUserModActionView.tsx
@@ -62,7 +62,7 @@ export const ModToolsUserModActionView: FC = pro
const category = topics[selectedTopic];
if(selectedTopic === -1) errorMessage = 'You must select a CFH topic';
if(errorMessage) return sendAlert(errorMessage);
- const messageOrDefault = (message.trim().length === 0) ? LocalizeText(`help.cfh.topic.${category.id}`) : message;
+ const messageOrDefault = (message.trim().length === 0) ? LocalizeText(`help.cfh.topic.${ category.id }`) : message;
SendMessageComposer(new DefaultSanctionMessageComposer(user.userId, selectedTopic, messageOrDefault));
onCloseClick();
}
@@ -139,7 +139,7 @@ export const ModToolsUserModActionView: FC = pro
return;
}
- SendMessageComposer(new ModMessageMessageComposer(user.userId, message, category.id));
+ SendMessageComposer(new ModMessageMessageComposer(user.userId, message, category.id));
break;
}
}
@@ -150,8 +150,8 @@ export const ModToolsUserModActionView: FC = pro
if(!user) return null;
return (
-
- onCloseClick() } />
+
+ onCloseClick() } />
-
+
diff --git a/src/components/mod-tools/views/user/ModToolsUserRoomVisitsView.tsx b/src/components/mod-tools/views/user/ModToolsUserRoomVisitsView.tsx
index 93a7b7b5..7a0b6d04 100644
--- a/src/components/mod-tools/views/user/ModToolsUserRoomVisitsView.tsx
+++ b/src/components/mod-tools/views/user/ModToolsUserRoomVisitsView.tsx
@@ -48,7 +48,7 @@ export const ModToolsUserRoomVisitsView: FC = p
if(!userId) return null;
return (
-
+
@@ -70,7 +70,7 @@ export const ModToolsUserRoomVisitsView: FC = p
height={ height }
rowCount={ roomVisitData.rooms.length }
rowHeight={ 25 }
- className={'log-entry-container' }
+ className={ 'log-entry-container' }
rowRenderer={ RowRenderer }
/>
);
diff --git a/src/components/mod-tools/views/user/ModToolsUserSendMessageView.tsx b/src/components/mod-tools/views/user/ModToolsUserSendMessageView.tsx
index 1332bed9..11da97a0 100644
--- a/src/components/mod-tools/views/user/ModToolsUserSendMessageView.tsx
+++ b/src/components/mod-tools/views/user/ModToolsUserSendMessageView.tsx
@@ -34,8 +34,8 @@ export const ModToolsUserSendMessageView: FC =
if(!user) return null;
return (
-
- onCloseClick() } />
+
+ onCloseClick() } />
Message To: { user.username }
diff --git a/src/components/mod-tools/views/user/ModToolsUserView.tsx b/src/components/mod-tools/views/user/ModToolsUserView.tsx
index bf35ddf9..97c399d3 100644
--- a/src/components/mod-tools/views/user/ModToolsUserView.tsx
+++ b/src/components/mod-tools/views/user/ModToolsUserView.tsx
@@ -107,7 +107,7 @@ export const ModToolsUserView: FC = props =>
return (
<>
-
+
onCloseClick() } />
@@ -123,7 +123,7 @@ export const ModToolsUserView: FC = props =>
{ property.value }
{ property.showOnline &&
- }
+ }
|
);
diff --git a/src/components/navigator/NavigatorMessageHandler.tsx b/src/components/navigator/NavigatorMessageHandler.tsx
index 27933279..c4b1e16e 100644
--- a/src/components/navigator/NavigatorMessageHandler.tsx
+++ b/src/components/navigator/NavigatorMessageHandler.tsx
@@ -336,7 +336,7 @@ export const NavigatorMessageHandler: FC<{}> = props =>
const newValue = { ...prevValue };
- newValue.homeRoomId = parser.homeRoomId;
+ newValue.homeRoomId = parser.homeRoomId;
newValue.settingsReceived = true;
return newValue;
diff --git a/src/components/navigator/NavigatorView.tsx b/src/components/navigator/NavigatorView.tsx
index 3f57fecd..d54c885d 100644
--- a/src/components/navigator/NavigatorView.tsx
+++ b/src/components/navigator/NavigatorView.tsx
@@ -225,7 +225,7 @@ export const NavigatorView: FC<{}> = props =>
-
+
{ isLoading &&
}
{ !isCreatorOpen &&
diff --git a/src/components/navigator/views/NavigatorRoomCreatorView.tsx b/src/components/navigator/views/NavigatorRoomCreatorView.tsx
index 2c9230c2..97b979c0 100644
--- a/src/components/navigator/views/NavigatorRoomCreatorView.tsx
+++ b/src/components/navigator/views/NavigatorRoomCreatorView.tsx
@@ -58,7 +58,7 @@ export const NavigatorRoomCreatorView: FC<{}> = props =>
{ LocalizeText('navigator.createroom.roomdescinfo') }
-
{ LocalizeText('navigator.category') }
diff --git a/src/components/navigator/views/room-settings/NavigatorRoomSettingsView.tsx b/src/components/navigator/views/room-settings/NavigatorRoomSettingsView.tsx
index 4a5b4d0b..6ce64dc8 100644
--- a/src/components/navigator/views/room-settings/NavigatorRoomSettingsView.tsx
+++ b/src/components/navigator/views/room-settings/NavigatorRoomSettingsView.tsx
@@ -90,7 +90,7 @@ export const NavigatorRoomSettingsView: FC<{}> = props =>
newValue.userCount = Number(value);
break;
case 'trade_state':
- newValue.tradeState = Number(value);
+ newValue.tradeState = Number(value);
break;
case 'allow_walkthrough':
newValue.allowWalkthrough = Boolean(value);
@@ -192,7 +192,7 @@ export const NavigatorRoomSettingsView: FC<{}> = props =>
{ (currentTab === TABS[1]) &&
}
{ (currentTab === TABS[2]) &&
- }
+ }
{ (currentTab === TABS[3]) &&
}
{ (currentTab === TABS[4]) &&
diff --git a/src/components/navigator/views/room-settings/NavigatorRoomSettingsVipChatTabView.tsx b/src/components/navigator/views/room-settings/NavigatorRoomSettingsVipChatTabView.tsx
index 747ad9eb..e77f6691 100644
--- a/src/components/navigator/views/room-settings/NavigatorRoomSettingsVipChatTabView.tsx
+++ b/src/components/navigator/views/room-settings/NavigatorRoomSettingsVipChatTabView.tsx
@@ -63,7 +63,7 @@ export const NavigatorRoomSettingsVipChatTabView: FC{ LocalizeText('navigator.roomsettings.wall_thickness.thin') }
-
- setSearchValue(event.target.value) } onKeyDown={ event => handleKeyDown(event) } />
+ setSearchValue(event.target.value) } onKeyDown={ event => handleKeyDown(event) } />
diff --git a/src/components/nitropedia/NitropediaView.tsx b/src/components/nitropedia/NitropediaView.tsx
index 4b8a0e93..f325fe47 100644
--- a/src/components/nitropedia/NitropediaView.tsx
+++ b/src/components/nitropedia/NitropediaView.tsx
@@ -9,7 +9,7 @@ export const NitropediaView: FC<{}> = props =>
{
const [ content, setContent ] = useState(null);
const [ header, setHeader ] = useState('');
- const [ dimensions, setDimensions ] = useState<{ width: number, height: number}>(null);
+ const [ dimensions, setDimensions ] = useState<{ width: number, height: number }>(null);
const elementRef = useRef(null);
const openPage = useCallback(async (link: string) =>
@@ -95,9 +95,9 @@ export const NitropediaView: FC<{}> = props =>
return (
- setContent(null) }/>
+ setContent(null) }/>
-
+
);
diff --git a/src/components/notification-center/views/alert-layouts/GetAlertLayout.tsx b/src/components/notification-center/views/alert-layouts/GetAlertLayout.tsx
index 3d64bfbc..6021b1b5 100644
--- a/src/components/notification-center/views/alert-layouts/GetAlertLayout.tsx
+++ b/src/components/notification-center/views/alert-layouts/GetAlertLayout.tsx
@@ -12,9 +12,9 @@ export const GetAlertLayout = (item: NotificationAlertItem, close: () => void) =
switch(item.alertType)
{
case NotificationAlertType.NITRO:
- return
+ return
case NotificationAlertType.SEARCH:
- return
+ return
default:
return
}
diff --git a/src/components/notification-center/views/alert-layouts/NotificationDefaultAlertView.tsx b/src/components/notification-center/views/alert-layouts/NotificationDefaultAlertView.tsx
index bd142ba3..87b935ef 100644
--- a/src/components/notification-center/views/alert-layouts/NotificationDefaultAlertView.tsx
+++ b/src/components/notification-center/views/alert-layouts/NotificationDefaultAlertView.tsx
@@ -23,14 +23,14 @@ export const NotificationDefaultAlertView: FC
const hasFrank = item.alertType === NotificationAlertType.DEFAULT;
return (
-
+
{hasFrank && !item.imageUrl && }
- {item.imageUrl && !imageFailed &&
+ {item.imageUrl && !imageFailed &&
{
setImageFailed(true)
- }} className="align-self-baseline" />}
-
+ } } className="align-self-baseline" />}
+
{ (item.messages.length > 0) && item.messages.map((message, index) =>
{
const htmlText = message.replace(/\r\n|\r|\n/g, '
');
@@ -39,16 +39,16 @@ export const NotificationDefaultAlertView: FC
})}
{item.clickUrl && (item.clickUrl.length > 0) && (item.imageUrl && !imageFailed) && <>
-
+
>}
{ (!item.imageUrl || (item.imageUrl && imageFailed)) && <>
-
+
{ !item.clickUrl &&
- }
- { item.clickUrl && (item.clickUrl.length > 0) && }
+ }
+ { item.clickUrl && (item.clickUrl.length > 0) && }
> }
diff --git a/src/components/notification-center/views/alert-layouts/NotificationSearchAlertView.tsx b/src/components/notification-center/views/alert-layouts/NotificationSearchAlertView.tsx
index db41e8cf..b8a71c6f 100644
--- a/src/components/notification-center/views/alert-layouts/NotificationSearchAlertView.tsx
+++ b/src/components/notification-center/views/alert-layouts/NotificationSearchAlertView.tsx
@@ -36,12 +36,12 @@ export const NotificationSeachAlertView: FC =
const isAction = (item.clickUrl && item.clickUrl.startsWith('event:'));
return (
-
+
updateSearchValue(event.target.value) } />
-
+
{results && results.map((n, index) =>
{
return { n }
diff --git a/src/components/notification-center/views/confirm-layouts/NotificationDefaultConfirmView.tsx b/src/components/notification-center/views/confirm-layouts/NotificationDefaultConfirmView.tsx
index 8e8a34c5..48f41387 100644
--- a/src/components/notification-center/views/confirm-layouts/NotificationDefaultConfirmView.tsx
+++ b/src/components/notification-center/views/confirm-layouts/NotificationDefaultConfirmView.tsx
@@ -10,7 +10,7 @@ export interface NotificationDefaultConfirmViewProps extends LayoutNotificationA
export const NotificationDefaultConfirmView: FC = props =>
{
const { item = null, close = null, ...rest } = props;
- const { message = null, onConfirm = null, onCancel = null, confirmText = null, cancelText = null, title = null } = item;
+ const { message = null, onConfirm = null, onCancel = null, confirmText = null, cancelText = null, title = null } = item;
const confirm = () =>
{
@@ -27,7 +27,7 @@ export const NotificationDefaultConfirmView: FC
+
{ message }
diff --git a/src/components/room/RoomView.tsx b/src/components/room/RoomView.tsx
index 38cf2b4e..01aa2c3c 100644
--- a/src/components/room/RoomView.tsx
+++ b/src/components/room/RoomView.tsx
@@ -96,15 +96,15 @@ export const RoomView: FC = props =>
if(!canvas) return;
- canvas.onclick = event => DispatchMouseEvent(roomSession.roomId, canvasId, event);
- canvas.onmousemove = event => DispatchMouseEvent(roomSession.roomId, canvasId, event);
- canvas.onmousedown = event => DispatchMouseEvent(roomSession.roomId, canvasId, event);
- canvas.onmouseup = event => DispatchMouseEvent(roomSession.roomId, canvasId, event);
+ canvas.onclick = event => DispatchMouseEvent(roomSession.roomId, canvasId, event);
+ canvas.onmousemove = event => DispatchMouseEvent(roomSession.roomId, canvasId, event);
+ canvas.onmousedown = event => DispatchMouseEvent(roomSession.roomId, canvasId, event);
+ canvas.onmouseup = event => DispatchMouseEvent(roomSession.roomId, canvasId, event);
- canvas.ontouchstart = event => DispatchTouchEvent(roomSession.roomId, canvasId, event);
- canvas.ontouchmove = event => DispatchTouchEvent(roomSession.roomId, canvasId, event);
- canvas.ontouchend = event => DispatchTouchEvent(roomSession.roomId, canvasId, event);
- canvas.ontouchcancel = event => DispatchTouchEvent(roomSession.roomId, canvasId, event);
+ canvas.ontouchstart = event => DispatchTouchEvent(roomSession.roomId, canvasId, event);
+ canvas.ontouchmove = event => DispatchTouchEvent(roomSession.roomId, canvasId, event);
+ canvas.ontouchend = event => DispatchTouchEvent(roomSession.roomId, canvasId, event);
+ canvas.ontouchcancel = event => DispatchTouchEvent(roomSession.roomId, canvasId, event);
window.onresize = () =>
{
diff --git a/src/components/room/widgets/RoomWidgetsView.tsx b/src/components/room/widgets/RoomWidgetsView.tsx
index 2cc43ce7..0fe4097f 100644
--- a/src/components/room/widgets/RoomWidgetsView.tsx
+++ b/src/components/room/widgets/RoomWidgetsView.tsx
@@ -64,8 +64,8 @@ export const RoomWidgetsView: FC<{}> = props =>
{
if(!roomSession || !widgetHandler) return;
- const objectId = event.objectId;
- const category = event.category;
+ const objectId = event.objectId;
+ const category = event.category;
let updateEvent: RoomWidgetUpdateRoomObjectEvent = null;
diff --git a/src/components/room/widgets/avatar-info/AvatarInfoRentableBotChatView.tsx b/src/components/room/widgets/avatar-info/AvatarInfoRentableBotChatView.tsx
index 6c96d635..ae906b74 100644
--- a/src/components/room/widgets/avatar-info/AvatarInfoRentableBotChatView.tsx
+++ b/src/components/room/widgets/avatar-info/AvatarInfoRentableBotChatView.tsx
@@ -42,7 +42,7 @@ export const AvatarInfoRentableBotChatView: FC
{ LocalizeText('bot.skill.chatter.configuration.chat.text') }
-
diff --git a/src/components/room/widgets/avatar-info/AvatarInfoWidgetAvatarView.tsx b/src/components/room/widgets/avatar-info/AvatarInfoWidgetAvatarView.tsx
index 77a66957..782108f6 100644
--- a/src/components/room/widgets/avatar-info/AvatarInfoWidgetAvatarView.tsx
+++ b/src/components/room/widgets/avatar-info/AvatarInfoWidgetAvatarView.tsx
@@ -360,20 +360,20 @@ export const AvatarInfoWidgetAvatarView: FC = p
{ (mode === MODE_RELATIONSHIP) &&
<>
- processAction('rship_heart')}>
+ processAction('rship_heart') }>
- processAction('rship_smile')}>
+ processAction('rship_smile') }>
- processAction('rship_bobba')}>
+ processAction('rship_bobba') }>
- processAction('rship_none')}>
+ processAction('rship_none') }>
{ LocalizeText('avatar.widget.clear_relationship') }
- processAction('back')}>
+ processAction('back') }>
{ LocalizeText('generic.back') }
diff --git a/src/components/room/widgets/avatar-info/AvatarInfoWidgetNameView.tsx b/src/components/room/widgets/avatar-info/AvatarInfoWidgetNameView.tsx
index 85dcf506..0f71d4cb 100644
--- a/src/components/room/widgets/avatar-info/AvatarInfoWidgetNameView.tsx
+++ b/src/components/room/widgets/avatar-info/AvatarInfoWidgetNameView.tsx
@@ -15,7 +15,7 @@ export const AvatarInfoWidgetNameView: FC = props
const fades = useMemo(() => (nameData.id !== GetSessionDataManager().userId), [ nameData ]);
return (
-
+
{ nameData.name }
diff --git a/src/components/room/widgets/avatar-info/AvatarInfoWidgetOwnPetView.tsx b/src/components/room/widgets/avatar-info/AvatarInfoWidgetOwnPetView.tsx
index 192c0ad4..bb119714 100644
--- a/src/components/room/widgets/avatar-info/AvatarInfoWidgetOwnPetView.tsx
+++ b/src/components/room/widgets/avatar-info/AvatarInfoWidgetOwnPetView.tsx
@@ -173,7 +173,7 @@ export const AvatarInfoWidgetOwnPetView: FC = p
{ LocalizeText('infostand.button.mount') }
processAction('toggle_riding_permission') } gap={ 1 }>
-
+
{ LocalizeText('infostand.button.toggle_riding_permission') }
{ (respectsLeft > 0) &&
@@ -220,7 +220,7 @@ export const AvatarInfoWidgetOwnPetView: FC = p
{ !petData.dead && (petData.level === petData.maximumLevel) && petData.breedable &&
<>
processAction('toggle_breeding_permission') } gap={ 1 }>
-
+
{ LocalizeText('infostand.button.toggle_breeding_permission') }
processAction('breed') }>
diff --git a/src/components/room/widgets/avatar-info/AvatarInfoWidgetView.tsx b/src/components/room/widgets/avatar-info/AvatarInfoWidgetView.tsx
index 93158743..97256c63 100644
--- a/src/components/room/widgets/avatar-info/AvatarInfoWidgetView.tsx
+++ b/src/components/room/widgets/avatar-info/AvatarInfoWidgetView.tsx
@@ -299,7 +299,7 @@ export const AvatarInfoWidgetView: FC<{}> = props =>
if(nameBubbleIndex > -1) removeNameBubble(nameBubbleIndex);
- return ;
+ return ;
}
if(infoStandEvent)
@@ -355,13 +355,13 @@ export const AvatarInfoWidgetView: FC<{}> = props =>
{ currentView }
{ (nameBubbles.length > 0) && nameBubbles.map((name, index) =>
{
- return removeNameBubble(index) } />;
+ return removeNameBubble(index) } />;
}) }
{ (productBubbles.length > 0) && productBubbles.map((item, index) =>
{
- return removeProductBubble(index) } />;
+ return removeProductBubble(index) } />;
}) }
- { rentableBotChatEvent && setRentableBotChatEvent(null)}/> }
+ { rentableBotChatEvent && setRentableBotChatEvent(null) }/> }
{ confirmingProduct && setConfirmingProduct(null) } /> }
>
)
diff --git a/src/components/room/widgets/avatar-info/common/BotSkillsEnum.ts b/src/components/room/widgets/avatar-info/common/BotSkillsEnum.ts
index cc7942be..b879cdc9 100644
--- a/src/components/room/widgets/avatar-info/common/BotSkillsEnum.ts
+++ b/src/components/room/widgets/avatar-info/common/BotSkillsEnum.ts
@@ -1,18 +1,18 @@
export class BotSkillsEnum
{
- public static GENERIC_SKILL: number = 0;
- public static DRESS_UP: number = 1;
- public static SETUP_CHAT: number = 2;
- public static RANDOM_WALK: number = 3;
- public static DANCE: number = 4;
- public static CHANGE_BOT_NAME: number = 5;
- public static SERVE_BEVERAGE: number = 6;
- public static INCLIENT_LINK: number = 7;
- public static NUX_PROCEED: number = 8;
+ public static GENERIC_SKILL: number = 0;
+ public static DRESS_UP: number = 1;
+ public static SETUP_CHAT: number = 2;
+ public static RANDOM_WALK: number = 3;
+ public static DANCE: number = 4;
+ public static CHANGE_BOT_NAME: number = 5;
+ public static SERVE_BEVERAGE: number = 6;
+ public static INCLIENT_LINK: number = 7;
+ public static NUX_PROCEED: number = 8;
public static CHANGE_BOT_MOTTO: number = 9;
- public static NUX_TAKE_TOUR: number = 10;
- public static NO_PICK_UP: number = 12;
+ public static NUX_TAKE_TOUR: number = 10;
+ public static NO_PICK_UP: number = 12;
public static NAVIGATOR_SEARCH: number = 14;
- public static DONATE_TO_USER: number = 24;
- public static DONATE_TO_ALL: number = 25;
+ public static DONATE_TO_USER: number = 24;
+ public static DONATE_TO_ALL: number = 25;
}
diff --git a/src/components/room/widgets/chat/ChatWidgetMessageView.tsx b/src/components/room/widgets/chat/ChatWidgetMessageView.tsx
index d7ad0abd..2f737fa4 100644
--- a/src/components/room/widgets/chat/ChatWidgetMessageView.tsx
+++ b/src/components/room/widgets/chat/ChatWidgetMessageView.tsx
@@ -80,7 +80,7 @@ export const ChatWidgetMessageView: FC = props =>
-
+
diff --git a/src/components/room/widgets/choosers/ChooserWidgetView.tsx b/src/components/room/widgets/choosers/ChooserWidgetView.tsx
index 9b5e56d2..89279369 100644
--- a/src/components/room/widgets/choosers/ChooserWidgetView.tsx
+++ b/src/components/room/widgets/choosers/ChooserWidgetView.tsx
@@ -53,7 +53,7 @@ export const ChooserWidgetView: FC = props =>
- setSearchValue(event.target.value)} />
+ setSearchValue(event.target.value) } />
{ ({ width, height }) =>
diff --git a/src/components/room/widgets/furniture/dimmer/FurnitureDimmerView.tsx b/src/components/room/widgets/furniture/dimmer/FurnitureDimmerView.tsx
index 1e0dbce3..544c1f35 100644
--- a/src/components/room/widgets/furniture/dimmer/FurnitureDimmerView.tsx
+++ b/src/components/room/widgets/furniture/dimmer/FurnitureDimmerView.tsx
@@ -140,7 +140,7 @@ export const FurnitureDimmerView: FC<{}> = props =>
{ (dimmerState === 1) &&
- { presets.map(preset => selectPresetId(preset.id) }>{ LocalizeText(`widget.dimmer.tab.${preset.id}`) }) }
+ { presets.map(preset => selectPresetId(preset.id) }>{ LocalizeText(`widget.dimmer.tab.${ preset.id }`) }) }
}
{ (dimmerState === 0) &&
@@ -160,7 +160,7 @@ export const FurnitureDimmerView: FC<{}> = props =>
{ AVAILABLE_COLORS.map((color, index) =>
{
return (
- setSelectedColor(color) } style={{ backgroundColor: HTML_COLORS[index] }} />
+ setSelectedColor(color) } style={ { backgroundColor: HTML_COLORS[index] } } />
);
}) }
}
@@ -174,7 +174,7 @@ export const FurnitureDimmerView: FC<{}> = props =>
value={ selectedBrightness }
onChange={ value => setSelectedBrightness(value) }
thumbClassName={ 'thumb percent' }
- renderThumb={ (props, state) => { scaledBrightness(state.valueNow) }
} />
+ renderThumb={ (props, state) => { scaledBrightness(state.valueNow) }
} />
setSelectedEffectId(event.target.checked ? 2 : 1) } />
diff --git a/src/components/room/widgets/furniture/stickie/FurnitureStickieView.tsx b/src/components/room/widgets/furniture/stickie/FurnitureStickieView.tsx
index 50c0ff66..0905edee 100644
--- a/src/components/room/widgets/furniture/stickie/FurnitureStickieView.tsx
+++ b/src/components/room/widgets/furniture/stickie/FurnitureStickieView.tsx
@@ -27,13 +27,13 @@ export const FurnitureStickieView: FC<{}> = props =>
if(data.length < 6) return;
- let color: string = null;
- let text: string = null;
+ let color: string = null;
+ let text: string = null;
if(data.indexOf(' ') > 0)
{
- color = data.slice(0, data.indexOf(' '));
- text = data.slice((data.indexOf(' ') + 1), data.length);
+ color = data.slice(0, data.indexOf(' '));
+ text = data.slice((data.indexOf(' ') + 1), data.length);
}
else
{
diff --git a/src/components/room/widgets/furniture/trophy/FurnitureTrophyView.tsx b/src/components/room/widgets/furniture/trophy/FurnitureTrophyView.tsx
index 7d9749c1..721061df 100644
--- a/src/components/room/widgets/furniture/trophy/FurnitureTrophyView.tsx
+++ b/src/components/room/widgets/furniture/trophy/FurnitureTrophyView.tsx
@@ -23,18 +23,18 @@ export const FurnitureTrophyView: FC<{}> = props =>
if(!roomObject) return;
- let data = roomObject.model.getValue(RoomObjectVariable.FURNITURE_DATA);
+ let data = roomObject.model.getValue(RoomObjectVariable.FURNITURE_DATA);
let extra = roomObject.model.getValue(RoomObjectVariable.FURNITURE_EXTRAS);
if(!extra) extra = '0';
- const color = roomObject.model.getValue(RoomObjectVariable.FURNITURE_COLOR);
+ const color = roomObject.model.getValue(RoomObjectVariable.FURNITURE_COLOR);
const ownerName = data.substring(0, data.indexOf('\t'));
data = data.substring((ownerName.length + 1), data.length);
- const trophyDate = data.substring(0, data.indexOf('\t'));
- const trophyText = data.substr((trophyDate.length + 1), data.length);
+ const trophyDate = data.substring(0, data.indexOf('\t'));
+ const trophyText = data.substr((trophyDate.length + 1), data.length);
setTrophyData(new FurnitureTrophyData(widgetEvent.objectId, widgetEvent.category, color, ownerName, trophyDate, trophyText));
return;
diff --git a/src/components/room/widgets/furniture/youtube-tv/FurnitureYoutubeDisplayView.tsx b/src/components/room/widgets/furniture/youtube-tv/FurnitureYoutubeDisplayView.tsx
index 650b8a6d..c272fe0a 100644
--- a/src/components/room/widgets/furniture/youtube-tv/FurnitureYoutubeDisplayView.tsx
+++ b/src/components/room/widgets/furniture/youtube-tv/FurnitureYoutubeDisplayView.tsx
@@ -204,12 +204,12 @@ export const FurnitureYoutubeDisplayView: FC<{}> = props =>
return (
-
+
{(videoId && videoId.length > 0) &&
-
+
}
{(!videoId || videoId.length === 0) &&
{LocalizeText('widget.furni.video_viewer.no_videos')}
@@ -217,15 +217,15 @@ export const FurnitureYoutubeDisplayView: FC<{}> = props =>
- processAction('playlist_prev')} />
- processAction('playlist_next')} />
+ processAction('playlist_prev') } />
+ processAction('playlist_next') } />
{LocalizeText('widget.furni.video_viewer.playlists')}
-
+
{playlists && playlists.map((entry, index) =>
{
return (
- processAction(entry.video)} itemActive={entry.video === selectedItem}>
+ processAction(entry.video) } itemActive={ entry.video === selectedItem }>
{entry.title} - {entry.description}
)
diff --git a/src/components/room/widgets/infostand/InfoStandWidgetFurniView.tsx b/src/components/room/widgets/infostand/InfoStandWidgetFurniView.tsx
index 39e2f723..a5d7af12 100644
--- a/src/components/room/widgets/infostand/InfoStandWidgetFurniView.tsx
+++ b/src/components/room/widgets/infostand/InfoStandWidgetFurniView.tsx
@@ -188,7 +188,7 @@ export const InfoStandWidgetFurniView: FC = props
while(i < furniKeys.length)
{
- const key = furniKeys[i];
+ const key = furniKeys[i];
const value = furniValues[i];
data = (data + (key + '=' + value + '\t'));
@@ -204,7 +204,7 @@ export const InfoStandWidgetFurniView: FC = props
if(!action || (action === '')) return;
let messageType: string = null;
- let objectData: string = null;
+ let objectData: string = null;
switch(action)
{
diff --git a/src/components/room/widgets/infostand/InfoStandWidgetPetView.tsx b/src/components/room/widgets/infostand/InfoStandWidgetPetView.tsx
index 7495eb82..cf56e4db 100644
--- a/src/components/room/widgets/infostand/InfoStandWidgetPetView.tsx
+++ b/src/components/room/widgets/infostand/InfoStandWidgetPetView.tsx
@@ -39,7 +39,7 @@ export const InfoStandWidgetPetView: FC = props =>
{ petData.happyness + '/' + petData.maximumHappyness }
-
+
@@ -48,7 +48,7 @@ export const InfoStandWidgetPetView: FC = props =>
{ petData.experience + '/' + petData.levelExperienceGoal }
-
+
@@ -57,7 +57,7 @@ export const InfoStandWidgetPetView: FC = props =>
{ petData.energy + '/' + petData.maximumEnergy }
-
+
diff --git a/src/components/room/widgets/infostand/InfoStandWidgetUserRelationshipsView.tsx b/src/components/room/widgets/infostand/InfoStandWidgetUserRelationshipsView.tsx
index f7aa72fc..580a537f 100644
--- a/src/components/room/widgets/infostand/InfoStandWidgetUserRelationshipsView.tsx
+++ b/src/components/room/widgets/infostand/InfoStandWidgetUserRelationshipsView.tsx
@@ -27,7 +27,7 @@ export const InfoStandWidgetUserRelationshipsView: FC
-
+
GetUserProfile(relationshipInfo.randomFriendId) }>
{ relationshipInfo.randomFriendName }
diff --git a/src/components/room/widgets/infostand/InfoStandWidgetView.tsx b/src/components/room/widgets/infostand/InfoStandWidgetView.tsx
index 014638b3..fcafad92 100644
--- a/src/components/room/widgets/infostand/InfoStandWidgetView.tsx
+++ b/src/components/room/widgets/infostand/InfoStandWidgetView.tsx
@@ -103,7 +103,7 @@ export const InfoStandWidgetView: FC<{}> = props =>
return ;
case RoomWidgetUpdateInfostandUserEvent.OWN_USER:
case RoomWidgetUpdateInfostandUserEvent.PEER:
- return ;
+ return ;
case RoomWidgetUpdateInfostandUserEvent.BOT:
return ;
case RoomWidgetUpdateInfostandRentableBotEvent.RENTABLE_BOT:
diff --git a/src/components/room/widgets/word-quiz/WordQuizWidgetView.tsx b/src/components/room/widgets/word-quiz/WordQuizWidgetView.tsx
index ff40429b..d3a1c57a 100644
--- a/src/components/room/widgets/word-quiz/WordQuizWidgetView.tsx
+++ b/src/components/room/widgets/word-quiz/WordQuizWidgetView.tsx
@@ -156,9 +156,9 @@ export const WordQuizWidgetView: FC<{}> = props =>
return (
<>
{ question &&
- }
+ }
{ userAnswers &&
- Array.from(userAnswers.entries()).map(([ key, value ], index) => ) }
+ Array.from(userAnswers.entries()).map(([ key, value ], index) => ) }
>
);
}
diff --git a/src/components/toolbar/ToolbarMeView.tsx b/src/components/toolbar/ToolbarMeView.tsx
index 9a27e5e3..43599d88 100644
--- a/src/components/toolbar/ToolbarMeView.tsx
+++ b/src/components/toolbar/ToolbarMeView.tsx
@@ -44,7 +44,7 @@ export const ToolbarMeView: FC = props =>
}
GetUserProfile(GetSessionDataManager().userId) } />
- CreateLinkEvent('navigator/search/myworld_view')} />
+ CreateLinkEvent('navigator/search/myworld_view') } />
CreateLinkEvent('avatar-editor/toggle') } />
CreateLinkEvent('user-settings/toggle') } />
{ children }
diff --git a/src/components/toolbar/ToolbarView.tsx b/src/components/toolbar/ToolbarView.tsx
index cc78c737..5933862e 100644
--- a/src/components/toolbar/ToolbarView.tsx
+++ b/src/components/toolbar/ToolbarView.tsx
@@ -41,8 +41,8 @@ export const ToolbarView: FC<{ isInRoom: boolean }> = props =>
document.body.append(image);
- const targetBounds = target.getBoundingClientRect();
- const imageBounds = image.getBoundingClientRect();
+ const targetBounds = target.getBoundingClientRect();
+ const imageBounds = image.getBoundingClientRect();
const left = (imageBounds.x - targetBounds.x);
const top = (imageBounds.y - targetBounds.y);
diff --git a/src/components/toolbar/common/ToolbarViewItems.ts b/src/components/toolbar/common/ToolbarViewItems.ts
index 9833dd72..dd05f863 100644
--- a/src/components/toolbar/common/ToolbarViewItems.ts
+++ b/src/components/toolbar/common/ToolbarViewItems.ts
@@ -1,15 +1,15 @@
export class ToolbarViewItems
{
- public static NAVIGATOR_ITEM: string = 'TVI_NAVIGATOR_ITEM';
- public static INVENTORY_ITEM: string = 'TVI_INVENTORY_ITEM';
- public static CATALOG_ITEM: string = 'TVI_CATALOG_ITEM';
- public static FRIEND_LIST_ITEM: string = 'TVI_FRIEND_LIST_ITEM';
- public static FRIEND_CHAT_ITEM: string = 'TVI_FRIEND_CHAT_ITEM';
- public static CLOTHING_ITEM: string = 'TVI_CLOTHING_ITEM';
- public static CAMERA_ITEM: string = 'TVI_CAMERA_ITEM';
- public static MOD_TOOLS_ITEM: string = 'TVI_MOD_TOOLS_ITEM';
+ public static NAVIGATOR_ITEM: string = 'TVI_NAVIGATOR_ITEM';
+ public static INVENTORY_ITEM: string = 'TVI_INVENTORY_ITEM';
+ public static CATALOG_ITEM: string = 'TVI_CATALOG_ITEM';
+ public static FRIEND_LIST_ITEM: string = 'TVI_FRIEND_LIST_ITEM';
+ public static FRIEND_CHAT_ITEM: string = 'TVI_FRIEND_CHAT_ITEM';
+ public static CLOTHING_ITEM: string = 'TVI_CLOTHING_ITEM';
+ public static CAMERA_ITEM: string = 'TVI_CAMERA_ITEM';
+ public static MOD_TOOLS_ITEM: string = 'TVI_MOD_TOOLS_ITEM';
public static ACHIEVEMENTS_ITEM: string = 'TVI_ACHIEVEMENTS_ITEM';
- public static PROFILE_ITEM: string = 'TVI_PROFILE_ITEM';
- public static SETTINGS_ITEM: string = 'TVI_SETTINGS_ITEM';
- public static GUIDE_TOOL_ITEM: string = 'TVI_GUIDE_TOOL_ITEM';
+ public static PROFILE_ITEM: string = 'TVI_PROFILE_ITEM';
+ public static SETTINGS_ITEM: string = 'TVI_SETTINGS_ITEM';
+ public static GUIDE_TOOL_ITEM: string = 'TVI_GUIDE_TOOL_ITEM';
}
diff --git a/src/components/user-profile/UserProfileView.tsx b/src/components/user-profile/UserProfileView.tsx
index 58d458b7..d744a7c0 100644
--- a/src/components/user-profile/UserProfileView.tsx
+++ b/src/components/user-profile/UserProfileView.tsx
@@ -109,7 +109,7 @@ export const UserProfileView: FC<{}> = props =>
- CreateLinkEvent(`navigator/search/hotel_view/owner:${ userProfile.username }`)}>
+ CreateLinkEvent(`navigator/search/hotel_view/owner:${ userProfile.username }`) }>
{ LocalizeText('extendedprofile.rooms') }
diff --git a/src/components/user-profile/views/FriendsContainerView.tsx b/src/components/user-profile/views/FriendsContainerView.tsx
index 756616e6..f5449d17 100644
--- a/src/components/user-profile/views/FriendsContainerView.tsx
+++ b/src/components/user-profile/views/FriendsContainerView.tsx
@@ -21,7 +21,7 @@ export const FriendsContainerView: FC = props =>
{ LocalizeText('extendedprofile.relstatus') }
-
+
)
diff --git a/src/components/user-profile/views/GroupsContainerView.tsx b/src/components/user-profile/views/GroupsContainerView.tsx
index 7ace0c25..5e05aaa8 100644
--- a/src/components/user-profile/views/GroupsContainerView.tsx
+++ b/src/components/user-profile/views/GroupsContainerView.tsx
@@ -76,7 +76,7 @@ export const GroupsContainerView: FC = props =>
return (
setSelectedGroupId(group.groupId) } className="p-1">
{ itsMe &&
- ToggleFavoriteGroup(group) } /> }
+ ToggleFavoriteGroup(group) } /> }
)
diff --git a/src/components/user-profile/views/UserContainerView.tsx b/src/components/user-profile/views/UserContainerView.tsx
index 97cef6cc..ceba4bfc 100644
--- a/src/components/user-profile/views/UserContainerView.tsx
+++ b/src/components/user-profile/views/UserContainerView.tsx
@@ -33,7 +33,7 @@ export const UserContainerView: FC = props =>
-
+
{ userProfile.username }
{ userProfile.motto }
diff --git a/src/components/user-settings/UserSettingsView.tsx b/src/components/user-settings/UserSettingsView.tsx
index 95ca3dc0..6768c898 100644
--- a/src/components/user-settings/UserSettingsView.tsx
+++ b/src/components/user-settings/UserSettingsView.tsx
@@ -126,7 +126,7 @@ export const UserSettingsView: FC<{}> = props =>
return (
- processAction('close_view')} />
+ processAction('close_view') } />
diff --git a/src/components/wired/WiredView.tsx b/src/components/wired/WiredView.tsx
index 63d42d95..971aec0a 100644
--- a/src/components/wired/WiredView.tsx
+++ b/src/components/wired/WiredView.tsx
@@ -49,7 +49,7 @@ export const WiredView: FC<{}> = props =>
}
return (
-
+
{ (trigger !== null) &&
GetWiredLayout(trigger) }
diff --git a/src/components/wired/views/actions/WiredActionGiveRewardView.tsx b/src/components/wired/views/actions/WiredActionGiveRewardView.tsx
index 8e132bcd..43a8f943 100644
--- a/src/components/wired/views/actions/WiredActionGiveRewardView.tsx
+++ b/src/components/wired/views/actions/WiredActionGiveRewardView.tsx
@@ -100,7 +100,7 @@ export const WiredActionGiveRewardView: FC<{}> = props =>
return (
- setLimitEnabled(event.target.checked)} />
+ setLimitEnabled(event.target.checked) } />
{ LocalizeText('wiredfurni.params.prizelimit', [ 'amount' ], [ limitEnabled ? rewardsLimit.toString() : '' ]) }
{ !limitEnabled &&
@@ -129,7 +129,7 @@ export const WiredActionGiveRewardView: FC<{}> = props =>
- setUniqueRewards(e.target.checked)} />
+ setUniqueRewards(e.target.checked) } />
Unique rewards
@@ -148,15 +148,15 @@ export const WiredActionGiveRewardView: FC<{}> = props =>
return (
- updateReward(index, e.target.checked, reward.itemCode, reward.probability)} />
+ updateReward(index, e.target.checked, reward.itemCode, reward.probability) } />
Badge?
updateReward(index, reward.isBadge, e.target.value, reward.probability) } placeholder="Item Code" />
updateReward(index, reward.isBadge, reward.itemCode, Number(e.target.value)) } placeholder="Probability" />
{ (index > 0) &&
- }
+ }
)
}) }
diff --git a/src/workers/WorkerBuilder.ts b/src/workers/WorkerBuilder.ts
index dc2ce67e..b848893e 100644
--- a/src/workers/WorkerBuilder.ts
+++ b/src/workers/WorkerBuilder.ts
@@ -3,7 +3,7 @@ export class WorkerBuilder extends Worker
constructor(worker)
{
const code = worker.toString();
- const blob = new Blob([ `(${code})()` ]);
+ const blob = new Blob([ `(${ code })()` ]);
super(URL.createObjectURL(blob));
}