mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
fixed shadows, added author panel
This commit is contained in:
parent
c1279c538a
commit
f2fbca80e1
21 changed files with 209 additions and 55 deletions
7
src/utils/user.ts
Normal file
7
src/utils/user.ts
Normal file
|
@ -0,0 +1,7 @@
|
|||
export const openUserProfile = (username?: string) => {
|
||||
if (!username) {
|
||||
return;
|
||||
}
|
||||
|
||||
window.postMessage({ type: 'username', username }, '*');
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue