@@ -131,7 +131,7 @@ export default function CreateCharter() {
131131 const onSubmit = async ( data : CreateCharterForm ) => {
132132 try {
133133 setIsSaving ( true ) ;
134-
134+
135135 // Update the group's charter
136136 await apiClient . put ( `/api/groups/${ data . groupId } /charter` , {
137137 charter : data . charter
@@ -158,7 +158,7 @@ export default function CreateCharter() {
158158
159159 // Filter groups to only show those without charters
160160 const groupsWithoutCharters = groups . filter ( group => ! group . charter || group . charter . trim ( ) === '' ) ;
161-
161+
162162 // Filter groups based on search query (only for groups without charters)
163163 const filteredGroups = groupsWithoutCharters . filter ( group =>
164164 group . name . toLowerCase ( ) . includes ( searchQuery . toLowerCase ( ) ) ||
@@ -205,7 +205,7 @@ export default function CreateCharter() {
205205 All Groups Have Charters!
206206 </ h2 >
207207 < p className = "text-gray-600 mb-6 max-w-md mx-auto" >
208- Great news! All of your groups already have charters attached.
208+ Great news! All of your groups already have charters attached.
209209 You can view and edit existing charters from the dashboard.
210210 </ p >
211211 < Link href = "/" >
@@ -271,24 +271,24 @@ export default function CreateCharter() {
271271 className = { cn (
272272 "w-full justify-between rounded-2xl border border-gray-200 bg-white/80 backdrop-blur-xs px-4 py-3 h-auto" ,
273273 ! field . value &&
274- "text-muted-foreground"
274+ "text-muted-foreground"
275275 ) }
276276 >
277277 { field . value
278278 ? groups ?. find (
279- ( group ) =>
280- group . id ===
281- field . value
282- ) ?. name
279+ ( group ) =>
280+ group . id ===
281+ field . value
282+ ) ?. name
283283 : "Select a group..." }
284284 < ChevronsUpDown className = "ml-2 h-4 w-4 shrink-0 opacity-50" />
285285 </ Button >
286286 </ FormControl >
287287 </ PopoverTrigger >
288288 < PopoverContent className = "w-full p-0 rounded-2xl" >
289289 < Command >
290- < CommandInput
291- placeholder = "Search groups..."
290+ < CommandInput
291+ placeholder = "Search groups..."
292292 value = { searchQuery }
293293 onValueChange = { setSearchQuery }
294294 />
0 commit comments