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