Skip to content

fix: ts build#1140

Draft
MailineN wants to merge 2 commits intonextfrom
fix/ts-build
Draft

fix: ts build#1140
MailineN wants to merge 2 commits intonextfrom
fix/ts-build

Conversation

@MailineN
Copy link
Copy Markdown
Contributor

No description provided.

@sonarqubecloud
Copy link
Copy Markdown

});

it('Delete personalization data works', async () => {
it('Delete personalization data throws on 404', async () => {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is the 204 test replaced?

submitLabel: string;
/** Available scopes with the mapping between id and name. */
scopes: Map<string, string>;
scopes?: Scopes;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rather remove Scopes type entirely and replace it with Map<string, string> everywhere.

import { useNavigate } from '@tanstack/react-router';
import toast from 'react-hot-toast';
import { useTranslation } from 'react-i18next';
import { useMutation, useQueryClient } from "@tanstack/react-query";
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The '' should not be replaced with "". Check the prettier configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants