@@ -99,7 +99,7 @@ const UserMenu = (props: UserMenuProps) => {
{(user.status === USER_STATUS.INVITED && !isInvitationEmailSended)
&& <i className={`fa fa-circle text-danger grw-usermenu-notification-icon ${styles['grw-usermenu-notification-icon']}`} />}
</DropdownToggle>
- <DropdownMenu strategy='fixed'>
+ <DropdownMenu strategy="fixed">
{renderEditMenu()}
{user.status !== USER_STATUS.DELETED && renderStatusMenu()}
{user.status === USER_STATUS.ACTIVE && renderAdminMenu()}
@@ -71,7 +71,7 @@ export const DescendantsPageListModal = (): JSX.Element => {
}, [isSharedUser, status, t]);
const buttons = useMemo(() => (
- <span className='me-3'>
+ <span className="me-3">
<ExpandOrContractButton
isWindowExpanded={isWindowExpanded}
expandWindow={() => setIsWindowExpanded(true)}
@@ -119,7 +119,7 @@ const CopyDropdown = (props) => {
<DropdownMenu
- strategy='fixed'
+ strategy="fixed"
style={{ zIndex: 1016 }} /* zIndex: 1016 // larger than z-index value of grw-subnav-fixed-container in GrowiSubNavigationSwitcher.module.scss */
>
<div className="d-flex align-items-center justify-content-between">
@@ -72,7 +72,7 @@ export const PageAccessoriesModal = (): JSX.Element => {
}, [t, close, isGuestUser, isReadOnlyUser, isSharedUser, isLinkSharingDisabled]);
@@ -77,7 +77,7 @@ export const RevisionComparer = (props: RevisionComparerProps): JSX.Element => {
<i className="ti ti-clipboard"></i>
- <DropdownMenu strategy='fixed' end >
+ <DropdownMenu strategy="fixed" end>
{/* Page path URL */}
<CopyToClipboard text={generateURL(currentPagePath)}>
<DropdownItem className="px-3">
@@ -23,7 +23,7 @@ export const PageTreeHeader = memo(() => {
return (
<>
- <SidebarHeaderReloadButton onClick={() => mutate()}/>
+ <SidebarHeaderReloadButton onClick={() => mutate()} />
</>
);
});
@@ -12,7 +12,7 @@ export const SidebarBrandLogo = memo((props: SidebarBrandLogoProps) => {
return isDefaultLogo
? <GrowiLogo />
// eslint-disable-next-line @next/next/no-img-element
- : (<img src='/attachment/brand-logo' alt="custom logo" className="picture picture-lg p-2 mx-2" id="settingBrandLogo" width="32" />);
+ : (<img src="/attachment/brand-logo" alt="custom logo" className="picture picture-lg p-2 mx-2" id="settingBrandLogo" width="32" />);
SidebarBrandLogo.displayName = 'SidebarBrandLogo';