mirror of
https://github.com/discourse/discourse.git
synced 2025-01-25 03:37:47 +08:00
8 lines
307 B
JavaScript
8 lines
307 B
JavaScript
import { addFlagProperty as realAddFlagProperty } from 'discourse/components/site-header';
|
|
import deprecated from 'discourse-common/lib/deprecated';
|
|
|
|
export function addFlagProperty(prop) {
|
|
deprecated("importing `addFlagProperty` is deprecated. Use the PluginAPI instead");
|
|
realAddFlagProperty(prop);
|
|
}
|