chore: refactor NavbarItem to INavbar
This commit is contained in:
parent
19c562f460
commit
5ce236c936
5 changed files with 11 additions and 11 deletions
|
@ -1,10 +1,10 @@
|
|||
import type { NavbarInterface, NavbarOptions } from "~/types/interfaces";
|
||||
import type { INavbar, NavbarOptions } from "~/types/interfaces";
|
||||
|
||||
const navbar = useState<NavbarInterface>("navbar")
|
||||
const navbar = useState<INavbar>("navbar")
|
||||
|
||||
export default async (options: NavbarOptions) => {
|
||||
await nextTick()
|
||||
|
||||
|
||||
if (navbar.value) {
|
||||
if (options.guild) {
|
||||
navbar.value.channelItems = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue