mirror of
https://github.com/skidoodle/albert.lol.git
synced 2025-02-15 06:09:15 +01:00
rewrite/decrease copy text
This commit is contained in:
parent
1dbee7b012
commit
2ed6be610d
1 changed files with 2 additions and 2 deletions
|
@ -23,11 +23,11 @@ const Icon = ({icon, reference, copy = false} : {icon: any, reference: any, copy
|
||||||
const doThings = (value: any) => {
|
const doThings = (value: any) => {
|
||||||
copy(value)
|
copy(value)
|
||||||
toast.remove()
|
toast.remove()
|
||||||
toast.success('Successfully copied to clipboard', {
|
toast.success('Copied to clipboard', {
|
||||||
style: {
|
style: {
|
||||||
background: '#111',
|
background: '#111',
|
||||||
color: '#fff',
|
color: '#fff',
|
||||||
fontSize: '1.1rem'
|
fontSize: '1em'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue