mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 03:23:29 +01:00
feat(website): add app dir (#8869)
Co-authored-by: iCrawl <buechler.noel@outlook.com>
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
import { type DisclosureState, useDialogState } from 'ariakit';
|
||||
import type { PropsWithChildren } from 'react';
|
||||
import { createContext, useContext } from 'react';
|
||||
'use client';
|
||||
|
||||
import { useDialogState } from 'ariakit/dialog';
|
||||
import type { DisclosureState } from 'ariakit/disclosure';
|
||||
import { type PropsWithChildren, createContext, useContext } from 'react';
|
||||
|
||||
export const CmdKContext = createContext<DisclosureState | null>(null);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user