chore: run prettier on complete project
This commit is contained in:
parent
3b171435c1
commit
f389dbaa71
|
@ -132,4 +132,3 @@
|
||||||
.btn-sm {
|
.btn-sm {
|
||||||
@include button-size($btn-padding-y-sm, $btn-padding-x-sm, $btn-font-size-sm, $btn-border-radius-sm);
|
@include button-size($btn-padding-y-sm, $btn-padding-x-sm, $btn-font-size-sm, $btn-border-radius-sm);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -663,4 +663,3 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -389,4 +389,3 @@ export const AvatarEditorView: FC<{}> = props => {
|
||||||
</NitroCardView>
|
</NitroCardView>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -95,4 +95,3 @@ export const AvatarEditorModelView: FC<AvatarEditorModelViewProps> = props => {
|
||||||
</Grid>
|
</Grid>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -55,4 +55,3 @@ export const AvatarEditorFigureSetView: FC<AvatarEditorFigureSetViewProps> = pro
|
||||||
</AutoGrid>
|
</AutoGrid>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -301,4 +301,3 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -50,7 +50,8 @@ export const FriendBarItemView: FC<{friend: MessengerFriend}> = props => {
|
||||||
<div
|
<div
|
||||||
ref={elementRef}
|
ref={elementRef}
|
||||||
className={"btn btn-success friend-bar-item " + (isVisible ? "friend-bar-item-active" : "")}
|
className={"btn btn-success friend-bar-item " + (isVisible ? "friend-bar-item-active" : "")}
|
||||||
onClick={event => setVisible(prevValue => !prevValue)}>
|
onClick={event => setVisible(prevValue => !prevValue)}
|
||||||
|
>
|
||||||
<div className={`friend-bar-item-head position-absolute ${friend.id > 0 ? "avatar" : "group"}`}>
|
<div className={`friend-bar-item-head position-absolute ${friend.id > 0 ? "avatar" : "group"}`}>
|
||||||
{friend.id > 0 && <LayoutAvatarImageView headOnly={true} figure={friend.figure} direction={2} />}
|
{friend.id > 0 && <LayoutAvatarImageView headOnly={true} figure={friend.figure} direction={2} />}
|
||||||
{friend.id <= 0 && <LayoutBadgeImageView isGroup={true} badgeCode={friend.figure} />}
|
{friend.id <= 0 && <LayoutBadgeImageView isGroup={true} badgeCode={friend.figure} />}
|
||||||
|
@ -68,4 +69,3 @@ export const FriendBarItemView: FC<{friend: MessengerFriend}> = props => {
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -146,4 +146,3 @@
|
||||||
@import "./furniture/FurnitureWidgets";
|
@import "./furniture/FurnitureWidgets";
|
||||||
@import "./mysterybox/MysteryBoxExtensionView";
|
@import "./mysterybox/MysteryBoxExtensionView";
|
||||||
@import "./pet-package/PetPackageWidgetView";
|
@import "./pet-package/PetPackageWidgetView";
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,8 @@ export const AvatarInfoWidgetNameView: FC<AvatarInfoWidgetNameViewProps> = props
|
||||||
userType={nameInfo.userType}
|
userType={nameInfo.userType}
|
||||||
fades={nameInfo.id !== GetSessionDataManager().userId}
|
fades={nameInfo.id !== GetSessionDataManager().userId}
|
||||||
classNames={getClassNames}
|
classNames={getClassNames}
|
||||||
onClose={onClose}>
|
onClose={onClose}
|
||||||
|
>
|
||||||
<div className="relation-icon"></div>
|
<div className="relation-icon"></div>
|
||||||
<div className="text-shadow">{nameInfo.name}</div>
|
<div className="text-shadow">{nameInfo.name}</div>
|
||||||
</ContextMenuView>
|
</ContextMenuView>
|
||||||
|
|
|
@ -13,7 +13,7 @@ import {FurnitureGiftOpeningView} from "./FurnitureGiftOpeningView";
|
||||||
import {FurnitureHighScoreView} from "./FurnitureHighScoreView";
|
import {FurnitureHighScoreView} from "./FurnitureHighScoreView";
|
||||||
import {FurnitureInternalLinkView} from "./FurnitureInternalLinkView";
|
import {FurnitureInternalLinkView} from "./FurnitureInternalLinkView";
|
||||||
import {FurnitureMannequinView} from "./FurnitureMannequinView";
|
import {FurnitureMannequinView} from "./FurnitureMannequinView";
|
||||||
import { FurnitureRentableSpaceView } from './FurnitureRentableSpaceView';
|
import {FurnitureRentableSpaceView} from "./FurnitureRentableSpaceView";
|
||||||
import {FurnitureRoomLinkView} from "./FurnitureRoomLinkView";
|
import {FurnitureRoomLinkView} from "./FurnitureRoomLinkView";
|
||||||
import {FurnitureSpamWallPostItView} from "./FurnitureSpamWallPostItView";
|
import {FurnitureSpamWallPostItView} from "./FurnitureSpamWallPostItView";
|
||||||
import {FurnitureStackHeightView} from "./FurnitureStackHeightView";
|
import {FurnitureStackHeightView} from "./FurnitureStackHeightView";
|
||||||
|
@ -50,4 +50,3 @@ export const FurnitureWidgetsView: FC<{}> = props => {
|
||||||
</Base>
|
</Base>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -210,7 +210,8 @@ export const RoomToolsWidgetView: FC<{}> = props => {
|
||||||
bold={history.roomId === navigatorData.currentRoomId}
|
bold={history.roomId === navigatorData.currentRoomId}
|
||||||
variant={history.roomId === navigatorData.currentRoomId ? "white" : "muted"}
|
variant={history.roomId === navigatorData.currentRoomId ? "white" : "muted"}
|
||||||
pointer
|
pointer
|
||||||
onClick={() => TryVisitRoom(history.roomId)}>
|
onClick={() => TryVisitRoom(history.roomId)}
|
||||||
|
>
|
||||||
{history.roomName}
|
{history.roomName}
|
||||||
</Text>
|
</Text>
|
||||||
);
|
);
|
||||||
|
@ -241,7 +242,8 @@ export const RoomToolsWidgetView: FC<{}> = props => {
|
||||||
pointer
|
pointer
|
||||||
variant="white"
|
variant="white"
|
||||||
className="rounded bg-primary p-1"
|
className="rounded bg-primary p-1"
|
||||||
onClick={() => handleToolClick("navigator_search_tag", tag)}>
|
onClick={() => handleToolClick("navigator_search_tag", tag)}
|
||||||
|
>
|
||||||
#{tag}
|
#{tag}
|
||||||
</Text>
|
</Text>
|
||||||
))}
|
))}
|
||||||
|
@ -256,4 +258,3 @@ export const RoomToolsWidgetView: FC<{}> = props => {
|
||||||
</Flex>
|
</Flex>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -269,4 +269,3 @@ const useFriendsState = () => {
|
||||||
};
|
};
|
||||||
|
|
||||||
export const useFriends = () => useBetween(useFriendsState);
|
export const useFriends = () => useBetween(useFriendsState);
|
||||||
|
|
||||||
|
|
|
@ -19,4 +19,3 @@ export * from "./useFurnitureStackHeightWidget";
|
||||||
export * from "./useFurnitureStickieWidget";
|
export * from "./useFurnitureStickieWidget";
|
||||||
export * from "./useFurnitureTrophyWidget";
|
export * from "./useFurnitureTrophyWidget";
|
||||||
export * from "./useFurnitureYoutubeWidget";
|
export * from "./useFurnitureYoutubeWidget";
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ export class RentableSpaceStatusMessageParser implements IMessageParser {
|
||||||
public static readonly CANT_RENT_NO_HABBO_CLUB = 203;
|
public static readonly CANT_RENT_NO_HABBO_CLUB = 203;
|
||||||
public static readonly CANT_RENT = 300;
|
public static readonly CANT_RENT = 300;
|
||||||
public static readonly CANT_RENT_GENERIC = 400;
|
public static readonly CANT_RENT_GENERIC = 400;
|
||||||
|
|
||||||
private _rented: boolean;
|
private _rented: boolean;
|
||||||
private _renterId: number;
|
private _renterId: number;
|
||||||
private _renterName: string;
|
private _renterName: string;
|
||||||
|
|
Loading…
Reference in New Issue