eslint: use semicolon TypeScript delimeter
This commit is contained in:
@@ -4,13 +4,13 @@ import { useApi } from 'soapbox/hooks/useApi';
|
||||
import { groupSchema } from 'soapbox/schemas';
|
||||
|
||||
interface CreateGroupParams {
|
||||
display_name?: string
|
||||
note?: string
|
||||
avatar?: File
|
||||
header?: File
|
||||
group_visibility?: 'members_only' | 'everyone'
|
||||
discoverable?: boolean
|
||||
tags?: string[]
|
||||
display_name?: string;
|
||||
note?: string;
|
||||
avatar?: File;
|
||||
header?: File;
|
||||
group_visibility?: 'members_only' | 'everyone';
|
||||
discoverable?: boolean;
|
||||
tags?: string[];
|
||||
}
|
||||
|
||||
function useCreateGroup() {
|
||||
|
||||
@@ -4,8 +4,8 @@ import { useApi } from 'soapbox/hooks/useApi';
|
||||
import { useFeatures } from 'soapbox/hooks/useFeatures';
|
||||
|
||||
type Validation = {
|
||||
error: string
|
||||
message: string
|
||||
error: string;
|
||||
message: string;
|
||||
}
|
||||
|
||||
const ValidationKeys = {
|
||||
|
||||
@@ -4,13 +4,13 @@ import { useApi } from 'soapbox/hooks/useApi';
|
||||
import { groupSchema } from 'soapbox/schemas';
|
||||
|
||||
interface UpdateGroupParams {
|
||||
display_name?: string
|
||||
note?: string
|
||||
avatar?: File | ''
|
||||
header?: File | ''
|
||||
group_visibility?: string
|
||||
discoverable?: boolean
|
||||
tags?: string[]
|
||||
display_name?: string;
|
||||
note?: string;
|
||||
avatar?: File | '';
|
||||
header?: File | '';
|
||||
group_visibility?: string;
|
||||
discoverable?: boolean;
|
||||
tags?: string[];
|
||||
}
|
||||
|
||||
function useUpdateGroup(groupId: string) {
|
||||
|
||||
Reference in New Issue
Block a user