mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
20 lines
310 B
JavaScript
20 lines
310 B
JavaScript
import {ndkInstance} from "./ndk/instance.js";
|
|
|
|
export default (livewireComponent) => ({
|
|
|
|
|
|
|
|
async init() {
|
|
|
|
await ndkInstance(this).init();
|
|
|
|
console.log(this.$store.ndk.user);
|
|
|
|
if (this.$store.ndk.user) {
|
|
this.$wire.setUser(this.$store.ndk.user);
|
|
}
|
|
|
|
},
|
|
|
|
});
|