Fix long press directive (#2464)

This commit is contained in:
Paulus Schoutsen 2019-01-13 09:15:09 -08:00 committed by GitHub
parent d738f6e2f6
commit 7173b16ef3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -183,7 +183,6 @@ export const longPressBind = (element: LongPressElement) => {
longpress.bind(element);
};
export const longPress = () =>
directive((part: PropertyPart) => {
export const longPress = directive(() => (part: PropertyPart) => {
longPressBind(part.committer.element);
});
});