mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-15 09:33:03 -04:00
Fixes
This commit is contained in:
parent
65bb12c33b
commit
76746c0c4a
17 changed files with 74 additions and 548 deletions
|
@ -38,7 +38,7 @@ const { Spinner } = proxyLazy(() => Forms as any as {
|
|||
SpinnerTypes: typeof SpinnerTypes;
|
||||
});
|
||||
|
||||
const ChannelMessage = findComponentByCodeLazy("renderSimpleAccessories)") as ComponentType<any>;
|
||||
const ChannelMessage = findComponentByCodeLazy("childrenExecutedCommand:", ".hideAccessories");
|
||||
|
||||
export default definePlugin({
|
||||
name: "MessageLinkTooltip",
|
||||
|
@ -49,7 +49,7 @@ export default definePlugin({
|
|||
{
|
||||
find: ',className:"channelMention",children:[',
|
||||
replacement: {
|
||||
match: /(?<=\.jsxs\)\()(\i\.default)/,
|
||||
match: /(?<=\.jsxs\)\()(\i\.\i)/,
|
||||
replace: "$self.wrapComponent(arguments[0], $1)"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue