Rename channelId to channel
This commit is contained in:
5
src/utils/generateChannel.ts
Normal file
5
src/utils/generateChannel.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
// generate random channel id
|
||||
|
||||
export const generateChannel = () => {
|
||||
return Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15);
|
||||
};
|
||||
Reference in New Issue
Block a user