Remove spaces after ~ in props()