mirror of
https://github.com/luminous-devs/lume.git
synced 2024-10-01 01:10:48 +00:00
fix: respect NIP spec
This commit is contained in:
parent
cc48a4f36b
commit
b7f4af7883
@ -51,11 +51,6 @@ export function ProfileSettingScreen() {
|
||||
|
||||
let content = {
|
||||
...data,
|
||||
username: data.name,
|
||||
display_name: data.displayName,
|
||||
bio: data.about,
|
||||
image: picture,
|
||||
cover: banner,
|
||||
picture,
|
||||
banner,
|
||||
};
|
||||
@ -140,7 +135,7 @@ export function ProfileSettingScreen() {
|
||||
</label>
|
||||
<input
|
||||
type={"text"}
|
||||
{...register("displayName")}
|
||||
{...register("display_name")}
|
||||
spellCheck={false}
|
||||
className="relative h-11 w-full rounded-lg border-transparent bg-neutral-100 px-3 py-1 text-neutral-900 !outline-none backdrop-blur-xl placeholder:text-neutral-500 focus:border-blue-500 focus:ring focus:ring-blue-200 dark:bg-neutral-900 dark:text-neutral-100"
|
||||
/>
|
||||
|
@ -228,7 +228,7 @@ export const LumeProvider = ({ children }: PropsWithChildren<object>) => {
|
||||
return (
|
||||
<div
|
||||
data-tauri-drag-region
|
||||
className="relative flex items-center justify-center w-screen h-screen"
|
||||
className="relative flex items-center justify-center w-screen h-screen bg-white dark:bg-black"
|
||||
>
|
||||
<div className="flex flex-col items-start max-w-2xl gap-1">
|
||||
<h5 className="font-semibold uppercase">TIP:</h5>
|
||||
|
Loading…
Reference in New Issue
Block a user