fix(source): fix donation widget button (#153)

* fix donation widget button

* fixed linting

* fixed timing
This commit is contained in:
Anton Tranelis 2025-02-26 13:03:04 +00:00 committed by GitHub
parent 0169f1c8bc
commit 7d16b2140a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -32,7 +32,6 @@ import { GratitudeControl } from './Subcomponents/Controls/GratitudeControl'
import { LayerControl } from './Subcomponents/Controls/LayerControl' import { LayerControl } from './Subcomponents/Controls/LayerControl'
import { SearchControl } from './Subcomponents/Controls/SearchControl' import { SearchControl } from './Subcomponents/Controls/SearchControl'
import { TagsControl } from './Subcomponents/Controls/TagsControl' import { TagsControl } from './Subcomponents/Controls/TagsControl'
import { PopupButton } from './Subcomponents/ItemPopupComponents/PopupButton'
import { TextView } from './Subcomponents/ItemPopupComponents/TextView' import { TextView } from './Subcomponents/ItemPopupComponents/TextView'
import { SelectPosition } from './Subcomponents/SelectPosition' import { SelectPosition } from './Subcomponents/SelectPosition'
@ -80,7 +79,9 @@ export function UtopiaMapInner({
itemId='' itemId=''
rawText={'Support us building free opensource maps and help us grow 🌱☀️'} rawText={'Support us building free opensource maps and help us grow 🌱☀️'}
/> />
<PopupButton url={'https://opencollective.com/utopia-project'} text={'Donate'} /> <a href='https://opencollective.com/utopia-project'>
<div className='tw-btn tw-btn-sm tw-float-right'>Donate</div>
</a>
</div> </div>
</>, </>,
{ autoClose: false }, { autoClose: false },