mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
Fix wrong style width value in solid tutorial (#29688)
* Fix wrong style width value in solid tutorial * update the line also in the code * sync with the doc
This commit is contained in:
1 parent
f9fb95abe6
commit
ce724e91bb
3 files changed
+3
-3
No files matched your search
@@ -12,7 +12,7 @@ const Auth: Component = () => {
|
||||
setLoading(true)
|
||||
const { error } = await supabase.auth.signInWithOtp({ email: email() })
|
||||
if (error) throw error
|
||||
alert('Check your email for login link!')
|
||||
alert('Check your email for the login link!')
|
||||
} catch (error) {
|
||||
if (error instanceof Error) {
|
||||
alert(error.message)
|
||||
|
||||
@@ -61,7 +61,7 @@ const Avatar: Component<Props> = (props) => {
|
||||
}
|
||||
|
||||
return (
|
||||
<div style={{ width: props.size }} aria-live="polite">
|
||||
<div style={{ width: `${props.size}px` }} aria-live="polite">
|
||||
{avatarUrl() ? (
|
||||
<img
|
||||
src={avatarUrl()!}
|
||||
|
||||
Reference in new issue
Block a user