Bug fixes
This commit is contained in:
@@ -33,7 +33,7 @@ export function SettingsHeader({
|
|||||||
setIsLoading,
|
setIsLoading,
|
||||||
}: {
|
}: {
|
||||||
setDragging: undefined | ((dragging: boolean) => void);
|
setDragging: undefined | ((dragging: boolean) => void);
|
||||||
openModal: () => void;
|
openModal: undefined | (() => void);
|
||||||
title: string;
|
title: string;
|
||||||
tooltip: {
|
tooltip: {
|
||||||
title: string;
|
title: string;
|
||||||
@@ -109,7 +109,7 @@ export function SettingsHeader({
|
|||||||
</Stack>
|
</Stack>
|
||||||
</Popover.Dropdown>
|
</Popover.Dropdown>
|
||||||
</Popover>
|
</Popover>
|
||||||
{searchValue !== undefined && (
|
{openModal !== undefined && (
|
||||||
<Button
|
<Button
|
||||||
className={buttonClasses.newItemButton}
|
className={buttonClasses.newItemButton}
|
||||||
classNames={buttonClasses}
|
classNames={buttonClasses}
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ const PersonalizationSettings = () => {
|
|||||||
<Stack>
|
<Stack>
|
||||||
<SettingsHeader
|
<SettingsHeader
|
||||||
setDragging={undefined}
|
setDragging={undefined}
|
||||||
openModal={() => {}}
|
openModal={undefined}
|
||||||
title={'Personalization'}
|
title={'Personalization'}
|
||||||
tooltip={{
|
tooltip={{
|
||||||
title: 'The personalization section allows you to update basic information.',
|
title: 'The personalization section allows you to update basic information.',
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ const SearchHistory = () => {
|
|||||||
/>
|
/>
|
||||||
<SettingsHeader
|
<SettingsHeader
|
||||||
setDragging={undefined}
|
setDragging={undefined}
|
||||||
openModal={() => {}}
|
openModal={undefined}
|
||||||
title={'Search History'}
|
title={'Search History'}
|
||||||
tooltip={{
|
tooltip={{
|
||||||
title:
|
title:
|
||||||
|
|||||||
Reference in New Issue
Block a user