Skip to content

Commit 46bb746

Browse files
authored
fix: faq items not clickable on brave (#691)
1 parent 440e563 commit 46bb746

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

packages/frontend/src/api/utils/customDataUtils.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ export const evaluateTranslationTemplate: (
216216
template: string,
217217
data: TCustomItem
218218
) => string = (template, data) => {
219-
const TEMPLATE_REGEX = /\{\{([^\}]+)\}\}/g;
219+
const TEMPLATE_REGEX = /\{\{([^}]+)\}\}/g;
220220
if (!TEMPLATE_REGEX.test(template)) {
221221
const value = getValueByPath(data, template);
222222
if (value === undefined) {

packages/frontend/src/components/dynamic-modules/faq/FaqModule.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ const FaqModule: FC<IAgenda> = ({
2727

2828
return (
2929
<div
30-
className="border-none block relative min-h-[110px]"
3130
style={{
3231
// height of the table should not be greater than max-content
3332
height: `${Math.min(initialItemsHeight, widgetHeight)}px`,

0 commit comments

Comments
 (0)