@@ -2,7 +2,7 @@ import { LiveStore, NamedNode, st, sym } from 'rdflib'
22import { html , render } from 'lit-html'
33import { ns } from 'solid-ui'
44import 'solid-ui/components/actions/button'
5- import { closeIcon , editIcon , plusIcon , trashIcon } from './icons'
5+ import { editIcon , plusIcon , trashIcon } from './icons'
66import { createSpinner } from './spinner'
77/* The following code was generated by AI Model: GPT-5.4
88 Prompt: can you create me a form to enter this data [
@@ -249,21 +249,6 @@ export function createEditProfileDetailsButton (
249249 title . textContent = 'Edit profile links'
250250 dialogHeader . appendChild ( title )
251251
252- const closeIconButton = dom . createElement ( 'solid-ui-button' )
253- closeIconButton . type = 'button'
254- closeIconButton . className = 'social-pane__dialog-close'
255- closeIconButton . setAttribute ( 'aria-label' , 'Close dialog' )
256- closeIconButton . setAttribute ( 'title' , 'Close' )
257- closeIconButton . variant = 'icon'
258- closeIconButton . size = 'md'
259- const closeIconButtonIcon = dom . createElement ( 'span' )
260- closeIconButtonIcon . className = 'social-pane__dialog-close-icon'
261- closeIconButtonIcon . setAttribute ( 'slot' , 'icon' )
262- closeIconButtonIcon . setAttribute ( 'aria-hidden' , 'true' )
263- closeIconButtonIcon . innerHTML = closeIcon
264- closeIconButton . appendChild ( closeIconButtonIcon )
265- dialogHeader . appendChild ( closeIconButton )
266-
267252 const form = dom . createElement ( 'form' )
268253 form . classList . add ( 'social-pane__dialog-form' , 'flex-column' )
269254 dialog . appendChild ( form )
@@ -417,7 +402,6 @@ export function createEditProfileDetailsButton (
417402 saveButton . disabled = nextSaving
418403 saveButton . setAttribute ( 'aria-busy' , String ( nextSaving ) )
419404 closeButton . disabled = nextSaving
420- closeIconButton . disabled = nextSaving
421405 savingOverlay . hidden = ! nextSaving
422406
423407 if ( nextSaving ) {
@@ -471,9 +455,6 @@ export function createEditProfileDetailsButton (
471455 overlay . addEventListener ( 'click' , ( event ) => {
472456 if ( event . target === overlay ) closeDialog ( )
473457 } )
474-
475- closeIconButton . addEventListener ( 'click' , requestCloseDialog )
476-
477458 closeButton . addEventListener ( 'click' , requestCloseDialog )
478459
479460 saveButton . addEventListener ( 'click' , async ( event ) => {
0 commit comments