()
| 29 | } |
| 30 | |
| 31 | export function useCurrentGuildId() { |
| 32 | const guildId = useContext(CurrentGuildIdContext); |
| 33 | if (!guildId) { |
| 34 | throw new Error("No guild id context available") |
| 35 | } |
| 36 | |
| 37 | return guildId |
| 38 | } |
no outgoing calls
no test coverage detected