mirror of
https://github.com/flarum/framework.git
synced 2025-04-15 07:42:35 +08:00
Use flarum/utils/Stream instead of m.stream
This commit is contained in:
parent
ccf9fae68c
commit
07e93eb6f9
@ -1,6 +1,7 @@
|
||||
import Modal from 'flarum/components/Modal';
|
||||
import Button from 'flarum/components/Button';
|
||||
|
||||
import Stream from 'flarum/utils/Stream';
|
||||
import withAttr from 'flarum/utils/withAttr';
|
||||
|
||||
export default class FlagPostModal extends Modal {
|
||||
@ -9,8 +10,8 @@ export default class FlagPostModal extends Modal {
|
||||
|
||||
this.success = false;
|
||||
|
||||
this.reason = m.stream('');
|
||||
this.reasonDetail = m.stream('');
|
||||
this.reason = Stream('');
|
||||
this.reasonDetail = Stream('');
|
||||
}
|
||||
|
||||
className() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user